aboutsummaryrefslogtreecommitdiff
path: root/src/fs/test_fs_list_indexed.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/test_fs_list_indexed.c')
-rw-r--r--src/fs/test_fs_list_indexed.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/fs/test_fs_list_indexed.c b/src/fs/test_fs_list_indexed.c
index 280ca11ee..c938162f8 100644
--- a/src/fs/test_fs_list_indexed.c
+++ b/src/fs/test_fs_list_indexed.c
@@ -345,10 +345,16 @@ main (int argc, char *argv[])
345 "nohelp", options, &run, NULL); 345 "nohelp", options, &run, NULL);
346 stop_arm (&p1); 346 stop_arm (&p1);
347 GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-list-indexed/"); 347 GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-list-indexed/");
348 GNUNET_DISK_directory_remove (fn1); 348 if (fn1 != NULL)
349 GNUNET_free_non_null (fn1); 349 {
350 GNUNET_DISK_directory_remove (fn2); 350 GNUNET_DISK_directory_remove (fn1);
351 GNUNET_free_non_null (fn2); 351 GNUNET_free (fn1);
352 }
353 if (fn2 != NULL)
354 {
355 GNUNET_DISK_directory_remove (fn2);
356 GNUNET_free (fn2);
357 }
352 return err; 358 return err;
353} 359}
354 360