diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-11-09 20:47:53 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-11-09 20:47:53 +0000 |
commit | 7a2ed01a317327f089d86314eb5aa311c87abf7a (patch) | |
tree | cd8359d8a13eb6f00c0867704f8f0ee4bc262ea8 /src/fs/fs_test_lib.c | |
parent | dca1bf1216a5d628dc35e92e772366e29caa1c91 (diff) | |
download | gnunet-7a2ed01a317327f089d86314eb5aa311c87abf7a.tar.gz gnunet-7a2ed01a317327f089d86314eb5aa311c87abf7a.zip |
-do not call with NULL
Diffstat (limited to 'src/fs/fs_test_lib.c')
-rw-r--r-- | src/fs/fs_test_lib.c | 3 |
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); |