aboutsummaryrefslogtreecommitdiff
path: root/src/fs/test_fs_publish.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-05-07 08:56:31 +0000
committerChristian Grothoff <christian@grothoff.org>2010-05-07 08:56:31 +0000
commitbb9e5c8ab55522d85b74bd2c0096472ac99b1485 (patch)
treef59dcfd544b9d85a28fc9fc7b510f520e88af031 /src/fs/test_fs_publish.c
parent769dbe18c0170dfa8b245cfda276de24d615f18b (diff)
downloadgnunet-bb9e5c8ab55522d85b74bd2c0096472ac99b1485.tar.gz
gnunet-bb9e5c8ab55522d85b74bd2c0096472ac99b1485.zip
fix
Diffstat (limited to 'src/fs/test_fs_publish.c')
-rw-r--r--src/fs/test_fs_publish.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/fs/test_fs_publish.c b/src/fs/test_fs_publish.c
index 7df42a26f..f3cbeb7bb 100644
--- a/src/fs/test_fs_publish.c
+++ b/src/fs/test_fs_publish.c
@@ -330,10 +330,16 @@ main (int argc, char *argv[])
330 "nohelp", options, &run, NULL); 330 "nohelp", options, &run, NULL);
331 stop_arm (&p1); 331 stop_arm (&p1);
332 GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-publish/"); 332 GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-publish/");
333 GNUNET_DISK_directory_remove (fn1); 333 if (fn1 != NULL)
334 GNUNET_free_non_null (fn1); 334 {
335 GNUNET_DISK_directory_remove (fn2); 335 GNUNET_DISK_directory_remove (fn1);
336 GNUNET_free_non_null (fn2); 336 GNUNET_free (fn1);
337 }
338 if (fn2 != NULL)
339 {
340 GNUNET_DISK_directory_remove (fn2);
341 GNUNET_free (fn2);
342 }
337 return err; 343 return err;
338} 344}
339 345