diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-05-07 23:42:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-05-07 23:42:28 +0000 |
commit | bfa8316970a7dce659585a038458bc41776ed965 (patch) | |
tree | d6c23c6731fe3b8ae2f5206fe7172be9b4db1f10 /src/fs/fs_publish.c | |
parent | 6e659b41e60f82e0a5d419f2c5c818a340b0917c (diff) | |
download | gnunet-bfa8316970a7dce659585a038458bc41776ed965.tar.gz gnunet-bfa8316970a7dce659585a038458bc41776ed965.zip |
stuff
Diffstat (limited to 'src/fs/fs_publish.c')
-rw-r--r-- | src/fs/fs_publish.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/fs_publish.c b/src/fs/fs_publish.c index 6d3f4679d..be2994176 100644 --- a/src/fs/fs_publish.c +++ b/src/fs/fs_publish.c | |||
@@ -149,6 +149,7 @@ ds_put_cont (void *cls, | |||
149 | /* we were aborted in the meantime, | 149 | /* we were aborted in the meantime, |
150 | finish shutdown! */ | 150 | finish shutdown! */ |
151 | publish_cleanup (pcc->sc); | 151 | publish_cleanup (pcc->sc); |
152 | GNUNET_free (pcc); | ||
152 | return; | 153 | return; |
153 | } | 154 | } |
154 | GNUNET_assert (GNUNET_YES == pcc->sc->in_network_wait); | 155 | GNUNET_assert (GNUNET_YES == pcc->sc->in_network_wait); |
@@ -1587,6 +1588,7 @@ GNUNET_FS_publish_sks (struct GNUNET_FS_Handle *h, | |||
1587 | memcpy (dest, update, nidlen); | 1588 | memcpy (dest, update, nidlen); |
1588 | dest += nidlen; | 1589 | dest += nidlen; |
1589 | memcpy (dest, uris, slen); | 1590 | memcpy (dest, uris, slen); |
1591 | GNUNET_free (uris); | ||
1590 | dest += slen; | 1592 | dest += slen; |
1591 | mdsize = GNUNET_CONTAINER_meta_data_serialize (mmeta, | 1593 | mdsize = GNUNET_CONTAINER_meta_data_serialize (mmeta, |
1592 | &dest, | 1594 | &dest, |
@@ -1596,7 +1598,6 @@ GNUNET_FS_publish_sks (struct GNUNET_FS_Handle *h, | |||
1596 | if (mdsize == -1) | 1598 | if (mdsize == -1) |
1597 | { | 1599 | { |
1598 | GNUNET_break (0); | 1600 | GNUNET_break (0); |
1599 | GNUNET_free (uris); | ||
1600 | GNUNET_free (sb); | 1601 | GNUNET_free (sb); |
1601 | cont (cont_cls, | 1602 | cont (cont_cls, |
1602 | NULL, | 1603 | NULL, |