diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-05-07 23:42:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-05-07 23:42:28 +0000 |
commit | bfa8316970a7dce659585a038458bc41776ed965 (patch) | |
tree | d6c23c6731fe3b8ae2f5206fe7172be9b4db1f10 /src/fs/test_fs_publish_persistence.c | |
parent | 6e659b41e60f82e0a5d419f2c5c818a340b0917c (diff) | |
download | gnunet-bfa8316970a7dce659585a038458bc41776ed965.tar.gz gnunet-bfa8316970a7dce659585a038458bc41776ed965.zip |
stuff
Diffstat (limited to 'src/fs/test_fs_publish_persistence.c')
-rw-r--r-- | src/fs/test_fs_publish_persistence.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/fs/test_fs_publish_persistence.c b/src/fs/test_fs_publish_persistence.c index 3e59d92be..d39a630db 100644 --- a/src/fs/test_fs_publish_persistence.c +++ b/src/fs/test_fs_publish_persistence.c | |||
@@ -390,10 +390,16 @@ main (int argc, char *argv[]) | |||
390 | "nohelp", options, &run, NULL); | 390 | "nohelp", options, &run, NULL); |
391 | stop_arm (&p1); | 391 | stop_arm (&p1); |
392 | GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-publish/"); | 392 | GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-publish/"); |
393 | GNUNET_DISK_directory_remove (fn1); | 393 | if (fn1 != NULL) |
394 | GNUNET_free_non_null (fn1); | 394 | { |
395 | GNUNET_DISK_directory_remove (fn2); | 395 | GNUNET_DISK_directory_remove (fn1); |
396 | GNUNET_free_non_null (fn2); | 396 | GNUNET_free (fn1); |
397 | } | ||
398 | if (fn2 != NULL) | ||
399 | { | ||
400 | GNUNET_DISK_directory_remove (fn2); | ||
401 | GNUNET_free (fn2); | ||
402 | } | ||
397 | return err; | 403 | return err; |
398 | } | 404 | } |
399 | 405 | ||