aboutsummaryrefslogtreecommitdiff
path: root/src/fs/test_fs_list_indexed.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_list_indexed.c
parent769dbe18c0170dfa8b245cfda276de24d615f18b (diff)
downloadgnunet-bb9e5c8ab55522d85b74bd2c0096472ac99b1485.tar.gz
gnunet-bb9e5c8ab55522d85b74bd2c0096472ac99b1485.zip
fix
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