aboutsummaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-11-09 20:47:53 +0000
committerChristian Grothoff <christian@grothoff.org>2013-11-09 20:47:53 +0000
commit7a2ed01a317327f089d86314eb5aa311c87abf7a (patch)
treecd8359d8a13eb6f00c0867704f8f0ee4bc262ea8 /src/fs
parentdca1bf1216a5d628dc35e92e772366e29caa1c91 (diff)
downloadgnunet-7a2ed01a317327f089d86314eb5aa311c87abf7a.tar.gz
gnunet-7a2ed01a317327f089d86314eb5aa311c87abf7a.zip
-do not call with NULL
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/fs_test_lib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/fs_test_lib.c b/src/fs/fs_test_lib.c
index 1db777a7a..085ea3764 100644
--- a/src/fs/fs_test_lib.c
+++ b/src/fs/fs_test_lib.c
@@ -196,7 +196,8 @@ report_uri (void *cls,
196 ? po->publish_tmp_file 196 ? po->publish_tmp_file
197 : NULL); 197 : NULL);
198 GNUNET_FS_uri_destroy (po->publish_uri); 198 GNUNET_FS_uri_destroy (po->publish_uri);
199 if (GNUNET_YES != po->do_index) 199 if ( (GNUNET_YES != po->do_index) &&
200 (NULL != po->publish_tmp_file) )
200 (void) GNUNET_DISK_directory_remove (po->publish_tmp_file); 201 (void) GNUNET_DISK_directory_remove (po->publish_tmp_file);
201 GNUNET_free_non_null (po->publish_tmp_file); 202 GNUNET_free_non_null (po->publish_tmp_file);
202 GNUNET_free (po); 203 GNUNET_free (po);