test-skeleton.c (xrealloc): Support realloc-as-free
authorFlorian Weimer <fweimer@redhat.com>
Thu, 23 Jun 2016 12:17:57 +0000 (14:17 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 23 Jun 2016 14:12:48 +0000 (16:12 +0200)
commit64ba17317dc9343f0958755ad04af71ec3da637b
tree9e6cecd5901282bc570be7f392a601cc52cfe1fc
parent9d52cb01f253c84e177fe2db8386deaea06a2596
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).
ChangeLog
test-skeleton.c