aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_test_lib.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-18 15:10:58 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-18 15:10:58 +0000
commit8fe29d55719cb024f2e162f1f5289ded8cf91e53 (patch)
tree97b00197b2c2c96dbdab2c95f2673e0291a7b78d /src/fs/fs_test_lib.c
parent8e521a62065eaf390ca8f631bb7d1296f22b3075 (diff)
downloadgnunet-8fe29d55719cb024f2e162f1f5289ded8cf91e53.tar.gz
gnunet-8fe29d55719cb024f2e162f1f5289ded8cf91e53.zip
-fix leaks, add assertions
Diffstat (limited to 'src/fs/fs_test_lib.c')
-rw-r--r--src/fs/fs_test_lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/fs_test_lib.c b/src/fs/fs_test_lib.c
index 3898f798e..1db777a7a 100644
--- a/src/fs/fs_test_lib.c
+++ b/src/fs/fs_test_lib.c
@@ -410,6 +410,7 @@ publish_fs_connect_complete_cb (void *cls,
410 po->publish_tmp_file, 410 po->publish_tmp_file,
411 NULL, NULL, po->do_index, 411 NULL, NULL, po->do_index,
412 &bo); 412 &bo);
413 GNUNET_assert (NULL != fi);
413 } 414 }
414 else 415 else
415 { 416 {
@@ -418,6 +419,7 @@ publish_fs_connect_complete_cb (void *cls,
418 &file_generator, &po->publish_seed, 419 &file_generator, &po->publish_seed,
419 NULL, NULL, 420 NULL, NULL,
420 po->do_index, &bo); 421 po->do_index, &bo);
422 GNUNET_assert (NULL != fi);
421 } 423 }
422 po->publish_context = 424 po->publish_context =
423 GNUNET_FS_publish_start (po->fs, fi, NULL, NULL, NULL, 425 GNUNET_FS_publish_start (po->fs, fi, NULL, NULL, NULL,