diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-06-23 14:17:57 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-06-23 16:12:48 +0200 |
commit | 64ba17317dc9343f0958755ad04af71ec3da637b (patch) | |
tree | 9e6cecd5901282bc570be7f392a601cc52cfe1fc /libio/iofopncook.c | |
parent | 9d52cb01f253c84e177fe2db8386deaea06a2596 (diff) | |
download | glibc-64ba17317dc9343f0958755ad04af71ec3da637b.zip glibc-64ba17317dc9343f0958755ad04af71ec3da637b.tar.gz glibc-64ba17317dc9343f0958755ad04af71ec3da637b.tar.bz2 |
test-skeleton.c (xrealloc): Support realloc-as-free
If the requested size is zero, realloc returns NULL, but the
deallocation is still successful, unless the pointer is also
NULL, when realloc behaves as malloc (0).
Diffstat (limited to 'libio/iofopncook.c')
0 files changed, 0 insertions, 0 deletions