Memory Fault in "free"

Anjali Sharma anjalis@cdotd.ernet.in
Fri Dec 19 13:13:00 GMT 2003


Hi All,


   I am modifying the source code of assembler of binutils-2.8.1.I am using a
temporary character pointer in the code of function
"input_file_give_next_buffer()" in file input-file.c,
and allocating memory for it using the OS system call "malloc()" on HP-UX
11.0.When i try to free this pointer, it always gives a memory fault.

Please let me know if anyone has come across such a problem.Any help is deeply
appreciated.

Thanks and Regards
Anjali




More information about the Gcc mailing list