This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: I: [PATCH] realloc-related memory leaks fixes
- From: Ulrich Drepper <drepper at redhat dot com>
- To: "Dmitry V. Levin" <ldv at alt-linux dot org>
- Cc: libc-alpha at sources dot redhat dot com
- Date: 29 Dec 2001 08:00:54 -0800
- Subject: Re: I: [PATCH] realloc-related memory leaks fixes
- References: <20011225132421.GA6435@ldv.office.alt-linux.org>
- Reply-to: drepper at redhat dot com (Ulrich Drepper)
I've checked in the first patch now. The second is not acceptable,
the third is unnecessary.
You will see some changes in the patches (mostly cosmetic). One thing
you seem to miss is that free(NULL) is a no-op. Also, I wouldn't have
bothered with any of the changes to the programs. If any of the
function calls fail the programs will fail anyway. I haven't looked
for further implications of the changes and just applied your changes
since the work was done already.
Thanks,
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------