(no commit message)
authorMatthias Wachs <wachs@net.in.tum.de>
Mon, 12 Jul 2010 11:06:02 +0000 (11:06 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Mon, 12 Jul 2010 11:06:02 +0000 (11:06 +0000)
src/transport/plugin_transport_http.c

index 0e18a542a0c95c50332c905153644b671534fc67..48886cc0742070a66ad6e5d416f3c5e7f54b1032 100644 (file)
@@ -414,6 +414,7 @@ static int remove_session (struct HTTP_PeerContext * pc, struct Session * ps,  i
     }
     GNUNET_free(msg);
     GNUNET_CONTAINER_DLL_remove(ps->pending_msgs_head,ps->pending_msgs_head,msg);
+    msg = ps->pending_msgs_head;
   }
 
   GNUNET_CONTAINER_DLL_remove(pc->head,pc->tail,ps);