This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: I: [PATCH] realloc-related memory leaks fixes


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   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]