aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_publish.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-05-06 09:30:39 +0000
committerChristian Grothoff <christian@grothoff.org>2010-05-06 09:30:39 +0000
commit031972ecd7ef2a767cbe8caf3c6fb649567a6b0d (patch)
tree88f2e710c98094f9abb38ffb1e22c2fb1586aba5 /src/fs/fs_publish.c
parenta0e80c722ac559fcc185c0fcbdc0e590bf7643c4 (diff)
downloadgnunet-031972ecd7ef2a767cbe8caf3c6fb649567a6b0d.tar.gz
gnunet-031972ecd7ef2a767cbe8caf3c6fb649567a6b0d.zip
dsh handling
Diffstat (limited to 'src/fs/fs_publish.c')
-rw-r--r--src/fs/fs_publish.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/fs_publish.c b/src/fs/fs_publish.c
index 0ca7cef2d..37d33ace1 100644
--- a/src/fs/fs_publish.c
+++ b/src/fs/fs_publish.c
@@ -120,7 +120,8 @@ publish_cleanup (struct GNUNET_FS_PublishContext *pc)
120 GNUNET_free_non_null (pc->nid); 120 GNUNET_free_non_null (pc->nid);
121 GNUNET_free_non_null (pc->nuid); 121 GNUNET_free_non_null (pc->nuid);
122 GNUNET_free_non_null (pc->serialization); 122 GNUNET_free_non_null (pc->serialization);
123 GNUNET_DATASTORE_disconnect (pc->dsh, GNUNET_NO); 123 if (pc->dsh != NULL)
124 GNUNET_DATASTORE_disconnect (pc->dsh, GNUNET_NO);
124 if (pc->client != NULL) 125 if (pc->client != NULL)
125 GNUNET_CLIENT_disconnect (pc->client, GNUNET_NO); 126 GNUNET_CLIENT_disconnect (pc->client, GNUNET_NO);
126 GNUNET_free (pc); 127 GNUNET_free (pc);