------- Additional Comments From nickc at redhat dot com  2008-02-25 10:23 
-------
Hi Alan,

> What is the point of the patch in comment #1?  If we fail a realloc we are
> shortly going to exit with an error.

Not necessarily.  It is possible whatever was being attempted at the time will
be aborted, but that the program will carry on rather than just exiting.

Besides it is better to be paranoid and free an allocated block of memory if all
the remaining pointers to it are about to be discarded, rather than just leaving
it orphaned.

Cheers
  Nick


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=868

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to