diff options
author | delphij <delphij@FreeBSD.org> | 2005-07-13 10:40:07 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2005-07-13 10:40:07 +0000 |
commit | b01a145dbf9b0649925cd1b8fccb00a7e78b8615 (patch) | |
tree | 321da183dcdfce50bead227fc8cbc472bed2fedc /lib/libc/stdlib/strfmon.c | |
parent | 8f5f7d592abf7290a99058bdbb3682f7fb6671d7 (diff) | |
download | FreeBSD-src-b01a145dbf9b0649925cd1b8fccb00a7e78b8615.zip FreeBSD-src-b01a145dbf9b0649925cd1b8fccb00a7e78b8615.tar.gz |
Better memory handling:
- It is acceptable to call free(3) when the given pointer itself
is NULL, so we do not need to determine NULL before passing
a pointer to free(3)
- Handle failure of malloc(3)
MT6/5 Candidate
Submitted by: Dan Lukes <dan at obluda cz>
PR: bin/83352
Diffstat (limited to 'lib/libc/stdlib/strfmon.c')
0 files changed, 0 insertions, 0 deletions