aboutsummaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-06-17 13:35:05 +0000
committerChristian Grothoff <christian@grothoff.org>2011-06-17 13:35:05 +0000
commit2949b17b69ab7a13f390a2218d193beabe488900 (patch)
tree631cff95d92bcd6bd34410adb3ff3b5b3b3c7539 /src/fs
parente74208cef672a3e2689329fdb76439b4b5db01f8 (diff)
downloadgnunet-2949b17b69ab7a13f390a2218d193beabe488900.tar.gz
gnunet-2949b17b69ab7a13f390a2218d193beabe488900.zip
fixing 1710
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/gnunet-service-fs_push.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/fs/gnunet-service-fs_push.c b/src/fs/gnunet-service-fs_push.c
index 339f98616..c3affeff4 100644
--- a/src/fs/gnunet-service-fs_push.c
+++ b/src/fs/gnunet-service-fs_push.c
@@ -642,7 +642,15 @@ GSF_push_stop_ (struct GSF_ConnectedPeer *peer)
642 peer_tail, 642 peer_tail,
643 pos); 643 pos);
644 if (NULL != pos->th) 644 if (NULL != pos->th)
645 GSF_peer_transmit_cancel_ (pos->th); 645 {
646 GSF_peer_transmit_cancel_ (pos->th);
647 pos->th = NULL;
648 }
649 if (NULL != pos->msg)
650 {
651 GNUNET_free (pos->msg);
652 pos->msg = NULL;
653 }
646 GNUNET_free (pos); 654 GNUNET_free (pos);
647 return; 655 return;
648 } 656 }