diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-21 00:54:49 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-21 00:54:49 +0200 |
commit | 30361fe0e89a72e2dd248a93824b06d858e4e81a (patch) | |
tree | 5cd5b9917bf1fb6899587683ab1680472c29194a /src/namestore/test_namestore_api_zone_iteration_specific_zone.c | |
parent | 172d6b0c471cd6512b8074d78f59ae9bb8cad9e7 (diff) | |
download | gnunet-30361fe0e89a72e2dd248a93824b06d858e4e81a.tar.gz gnunet-30361fe0e89a72e2dd248a93824b06d858e4e81a.zip |
make GNUNET_freez default, have GNUNET_free_nz for cases where that does not work
Diffstat (limited to 'src/namestore/test_namestore_api_zone_iteration_specific_zone.c')
-rw-r--r-- | src/namestore/test_namestore_api_zone_iteration_specific_zone.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/namestore/test_namestore_api_zone_iteration_specific_zone.c b/src/namestore/test_namestore_api_zone_iteration_specific_zone.c index 97093cb71..0534da001 100644 --- a/src/namestore/test_namestore_api_zone_iteration_specific_zone.c +++ b/src/namestore/test_namestore_api_zone_iteration_specific_zone.c | |||
@@ -93,17 +93,17 @@ end (void *cls) | |||
93 | GNUNET_free_non_null (s_name_3); | 93 | GNUNET_free_non_null (s_name_3); |
94 | if (s_rd_1 != NULL) | 94 | if (s_rd_1 != NULL) |
95 | { | 95 | { |
96 | GNUNET_free ((void *) s_rd_1->data); | 96 | GNUNET_free_nz ((void *) s_rd_1->data); |
97 | GNUNET_free (s_rd_1); | 97 | GNUNET_free (s_rd_1); |
98 | } | 98 | } |
99 | if (s_rd_2 != NULL) | 99 | if (s_rd_2 != NULL) |
100 | { | 100 | { |
101 | GNUNET_free ((void *) s_rd_2->data); | 101 | GNUNET_free_nz ((void *) s_rd_2->data); |
102 | GNUNET_free (s_rd_2); | 102 | GNUNET_free (s_rd_2); |
103 | } | 103 | } |
104 | if (s_rd_3 != NULL) | 104 | if (s_rd_3 != NULL) |
105 | { | 105 | { |
106 | GNUNET_free ((void *) s_rd_3->data); | 106 | GNUNET_free_nz ((void *) s_rd_3->data); |
107 | GNUNET_free (s_rd_3); | 107 | GNUNET_free (s_rd_3); |
108 | } | 108 | } |
109 | if (nsh != NULL) | 109 | if (nsh != NULL) |