projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dca1bf1
)
-do not call with NULL
author
Christian Grothoff
<christian@grothoff.org>
Sat, 9 Nov 2013 20:47:53 +0000
(20:47 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sat, 9 Nov 2013 20:47:53 +0000
(20:47 +0000)
src/fs/fs_test_lib.c
patch
|
blob
|
history
diff --git
a/src/fs/fs_test_lib.c
b/src/fs/fs_test_lib.c
index 1db777a7ac03efa02c13810eace14c9e28a32da3..085ea3764d0d6078accaa0ccf40cf2cb3c7195fc 100644
(file)
--- a/
src/fs/fs_test_lib.c
+++ b/
src/fs/fs_test_lib.c
@@
-196,7
+196,8
@@
report_uri (void *cls,
? po->publish_tmp_file
: NULL);
GNUNET_FS_uri_destroy (po->publish_uri);
- if (GNUNET_YES != po->do_index)
+ if ( (GNUNET_YES != po->do_index) &&
+ (NULL != po->publish_tmp_file) )
(void) GNUNET_DISK_directory_remove (po->publish_tmp_file);
GNUNET_free_non_null (po->publish_tmp_file);
GNUNET_free (po);