aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_test_lib.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-05 16:32:34 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-05 16:32:34 +0200
commite31c1d4a9f78c4e31fda1f98fe349b33abdd01a2 (patch)
tree61df772a93f7f21af7c715ddd4b9a3f1a50e0509 /src/fs/fs_test_lib.c
parent1437556645417e6302862845e7ebcbd4c9908357 (diff)
downloadgnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.tar.gz
gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.zip
GNUNET_free_non_null -> GNUNET_free
Diffstat (limited to 'src/fs/fs_test_lib.c')
-rw-r--r--src/fs/fs_test_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/fs_test_lib.c b/src/fs/fs_test_lib.c
index a0fe336df..dc4b214d9 100644
--- a/src/fs/fs_test_lib.c
+++ b/src/fs/fs_test_lib.c
@@ -195,7 +195,7 @@ report_uri (void *cls)
195 if ((GNUNET_YES != po->do_index) && 195 if ((GNUNET_YES != po->do_index) &&
196 (NULL != po->publish_tmp_file)) 196 (NULL != po->publish_tmp_file))
197 (void) GNUNET_DISK_directory_remove (po->publish_tmp_file); 197 (void) GNUNET_DISK_directory_remove (po->publish_tmp_file);
198 GNUNET_free_non_null (po->publish_tmp_file); 198 GNUNET_free (po->publish_tmp_file);
199 GNUNET_free (po); 199 GNUNET_free (po);
200} 200}
201 201
@@ -217,7 +217,7 @@ publish_timeout (void *cls)
217 GNUNET_FS_publish_stop (po->publish_context); 217 GNUNET_FS_publish_stop (po->publish_context);
218 po->publish_cont (po->publish_cont_cls, NULL, NULL); 218 po->publish_cont (po->publish_cont_cls, NULL, NULL);
219 (void) GNUNET_DISK_directory_remove (po->publish_tmp_file); 219 (void) GNUNET_DISK_directory_remove (po->publish_tmp_file);
220 GNUNET_free_non_null (po->publish_tmp_file); 220 GNUNET_free (po->publish_tmp_file);
221 GNUNET_free (po); 221 GNUNET_free (po);
222} 222}
223 223