cleaner
authorChristian Grothoff <christian@grothoff.org>
Tue, 19 Jul 2011 11:37:39 +0000 (11:37 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 19 Jul 2011 11:37:39 +0000 (11:37 +0000)
src/fs/gnunet-service-fs_pr.c

index 3bc2d33306bfba196fb57f770d2d71ed83fd994a..fb4c7ec9eeaf02d3c59e571b67794e20f81d7762 100644 (file)
@@ -604,6 +604,7 @@ clean_request (void *cls,
       pr->bf = NULL;
     }
   GNUNET_PEER_change_rc (pr->sender_pid, -1);
+  pr->sender_pid = 0;
   if (NULL != pr->hnode)
     {
       GNUNET_CONTAINER_heap_remove_node (pr->hnode);