Error::*** glibc detected *** realloc():
Hi all,
i have implemented one c prog, in which i have taken 2 char pointers, and assigned them memory through malloc.Then after through some code , tht memory gets filled..
Now prob is..
at the end if i m trying to apply realloc() or free() on tht pointer, for assigned memory, its giving me following error:
for realloc()
*** glibc detected *** realloc(): invalid next size: 0x09b25a48 ***
Aborted
if i use free() , i get similar error
So wht does this error indicate ? and
how to solve it?
Reply frm u will be more than welcome..
Thank you
|