Memory bug fixed

Ulrich Drepper drepper@redhat.com
Thu Jul 13 08:45:00 GMT 2000


Andreas Jaeger <aj@suse.de> writes:

> Nevertheless we shouldn't call free (0).

I don't agree.  The if just increases the binary size.  We should
never increase the binary size if this is not performance critical.
E.g., I would agree to having this `if' if this would be in code which
runs normally.  But this is debugging code and we don't care about
speed (besides, it's executed exactly once).

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-hacker mailing list