This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Memory Fault in "free"
- From: Anjali Sharma <anjalis at cdotd dot ernet dot in>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 19 Dec 2003 17:07:21 +0530
- Subject: Memory Fault in "free"
- >received: from aries.cdotd.ernet.in by cdotd.cdotd.ernet.in (8.9.3+Sun/SMI-SVR4)id RAA14988; Fri, 19 Dec 2003 17:31:42 -0500 (GMT)
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