aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-publish.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-06-13 11:44:41 +0000
committerChristian Grothoff <christian@grothoff.org>2010-06-13 11:44:41 +0000
commit37ad983d488bb8c62cd26823850ba01ee2e499d7 (patch)
tree88c3c257bcc06d36b7659d007f3e80d0c6866e24 /src/fs/gnunet-publish.c
parent2749384c8aaa69fbc36ce543a91a2bd725cf0fa7 (diff)
downloadgnunet-37ad983d488bb8c62cd26823850ba01ee2e499d7.tar.gz
gnunet-37ad983d488bb8c62cd26823850ba01ee2e499d7.zip
fixes
Diffstat (limited to 'src/fs/gnunet-publish.c')
-rw-r--r--src/fs/gnunet-publish.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c
index 055e3c4b4..519f3e35c 100644
--- a/src/fs/gnunet-publish.c
+++ b/src/fs/gnunet-publish.c
@@ -493,6 +493,8 @@ run (void *cls,
493 _("Failed to parse URI: %s\n"), 493 _("Failed to parse URI: %s\n"),
494 emsg); 494 emsg);
495 GNUNET_free (emsg); 495 GNUNET_free (emsg);
496 if (namespace != NULL)
497 GNUNET_FS_namespace_delete (namespace, GNUNET_NO);
496 GNUNET_FS_stop (ctx); 498 GNUNET_FS_stop (ctx);
497 ret = 1; 499 ret = 1;
498 return; 500 return;
@@ -507,6 +509,8 @@ run (void *cls,
507 GNUNET_FS_PUBLISH_OPTION_NONE, 509 GNUNET_FS_PUBLISH_OPTION_NONE,
508 &uri_ksk_continuation, 510 &uri_ksk_continuation,
509 NULL); 511 NULL);
512 if (namespace != NULL)
513 GNUNET_FS_namespace_delete (namespace, GNUNET_NO);
510 return; 514 return;
511 } 515 }
512 l = NULL; 516 l = NULL;