Thread: C realloc help
View Single Post
  #2   (View Single Post)  
Old 31st August 2008
Tom Tom is offline
Port Guard
 
Join Date: Aug 2008
Location: Poland
Posts: 22
Default

I think it might be a problem in style you have reallocated a memory.

Code:
new_pointer = realloc(pointer, (pointer_size+100)*sizeof(int));
Regards.
Reply With Quote