aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-publish.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-02-06 21:27:15 +0000
committerChristian Grothoff <christian@grothoff.org>2012-02-06 21:27:15 +0000
commit34228a39153d5ba620f3e8dde666475043af194b (patch)
tree22cdc3a98992c5f5a963be784296e4519dca740a /src/fs/gnunet-publish.c
parentd2b0f1d3b4133ee2b90e820203c05988004d2ff7 (diff)
downloadgnunet-34228a39153d5ba620f3e8dde666475043af194b.tar.gz
gnunet-34228a39153d5ba620f3e8dde666475043af194b.zip
-trying to fix crash from #1972 report
Diffstat (limited to 'src/fs/gnunet-publish.c')
-rw-r--r--src/fs/gnunet-publish.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c
index 0da1b7034..406433a71 100644
--- a/src/fs/gnunet-publish.c
+++ b/src/fs/gnunet-publish.c
@@ -415,6 +415,11 @@ directory_trim_complete ()
415 GNUNET_FS_namespace_delete (namespace, GNUNET_NO); 415 GNUNET_FS_namespace_delete (namespace, GNUNET_NO);
416 GNUNET_FS_file_information_destroy (fi, NULL, NULL); 416 GNUNET_FS_file_information_destroy (fi, NULL, NULL);
417 GNUNET_FS_stop (ctx); 417 GNUNET_FS_stop (ctx);
418 if (kill_task != GNUNET_SCHEDULER_NO_TASK)
419 {
420 GNUNET_SCHEDULER_cancel (kill_task);
421 kill_task = GNUNET_SCHEDULER_NO_TASK;
422 }
418 return; 423 return;
419 } 424 }
420 pc = GNUNET_FS_publish_start (ctx, fi, namespace, this_id, next_id, 425 pc = GNUNET_FS_publish_start (ctx, fi, namespace, this_id, next_id,