gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r30648 - gnunet/src/fs


From: gnunet
Subject: [GNUnet-SVN] r30648 - gnunet/src/fs
Date: Sat, 9 Nov 2013 21:47:53 +0100

Author: grothoff
Date: 2013-11-09 21:47:53 +0100 (Sat, 09 Nov 2013)
New Revision: 30648

Modified:
   gnunet/src/fs/fs_test_lib.c
Log:
-do not call with NULL

Modified: gnunet/src/fs/fs_test_lib.c
===================================================================
--- gnunet/src/fs/fs_test_lib.c 2013-11-09 20:47:43 UTC (rev 30647)
+++ gnunet/src/fs/fs_test_lib.c 2013-11-09 20:47:53 UTC (rev 30648)
@@ -196,7 +196,8 @@
                    ? 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);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]