diff options
Diffstat (limited to 'src/util/test_common_allocation.c')
-rw-r--r-- | src/util/test_common_allocation.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/test_common_allocation.c b/src/util/test_common_allocation.c index a24af7124..da3d2f470 100644 --- a/src/util/test_common_allocation.c +++ b/src/util/test_common_allocation.c | |||
@@ -55,9 +55,9 @@ check (void) | |||
55 | GNUNET_free (ptrs[i]); | 55 | GNUNET_free (ptrs[i]); |
56 | } | 56 | } |
57 | 57 | ||
58 | /* GNUNET_free_non_null test */ | 58 | /* GNUNET_free test */ |
59 | GNUNET_free_non_null (NULL); | 59 | GNUNET_free (NULL); |
60 | GNUNET_free_non_null (GNUNET_malloc (4)); | 60 | GNUNET_free (GNUNET_malloc (4)); |
61 | 61 | ||
62 | /* GNUNET_strdup tests */ | 62 | /* GNUNET_strdup tests */ |
63 | ptrs[0] = GNUNET_strdup ("bar"); | 63 | ptrs[0] = GNUNET_strdup ("bar"); |