diff options
Diffstat (limited to '')
-rw-r--r-- | testsuites/libtests/POSIX/calloc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/libtests/POSIX/calloc.c b/testsuites/libtests/POSIX/calloc.c index bd04faa800..a7537c8cc4 100644 --- a/testsuites/libtests/POSIX/calloc.c +++ b/testsuites/libtests/POSIX/calloc.c @@ -16,6 +16,8 @@ int main (void) { void *foo = calloc (42, 43); + int rc = (foo != NULL); + free(foo); - return (foo != NULL); + return rc; } |