diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-05 16:32:34 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-05 16:32:34 +0200 |
commit | e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2 (patch) | |
tree | 61df772a93f7f21af7c715ddd4b9a3f1a50e0509 /src/util/test_common_allocation.c | |
parent | 1437556645417e6302862845e7ebcbd4c9908357 (diff) | |
download | gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.tar.gz gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.zip |
GNUNET_free_non_null -> GNUNET_free
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"); |