fixing 1721
authorChristian Grothoff <christian@grothoff.org>
Thu, 23 Jun 2011 10:12:00 +0000 (10:12 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 23 Jun 2011 10:12:00 +0000 (10:12 +0000)
src/fs/gnunet-service-fs_cp.c

index 56129273c6be661783728e019e97a23d6eb5ac18..c2bb029009bf6fce242c104c7ab36aad022b0f0d 100644 (file)
@@ -1700,6 +1700,8 @@ GSF_peer_disconnect_handler_ (void *cls,
                                   cp->pth_tail,
                                   pth);
       GNUNET_assert (0 == pth->cth_in_progress);
+      pth->gmc (pth->gmc_cls, 
+               0, NULL);
       GNUNET_free (pth);
     }
   while (NULL != (dh = cp->delayed_head))