possible fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 30 May 2011 15:42:49 +0000 (15:42 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 30 May 2011 15:42:49 +0000 (15:42 +0000)
src/core/core_api.c

index 10531789d7c0c77f999f6f3c169d345932610638..4ffd07d9ed8f27992c90b405fc56c611ab537459 100644 (file)
@@ -639,8 +639,9 @@ transmission_timeout (void *cls,
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
              "Signalling timeout of request for transmission to CORE service\n");
 #endif
-  GNUNET_assert (0 == th->get_message (th->get_message_cls, 0, NULL));
   request_next_transmission (pr);
+  GNUNET_assert (0 == th->get_message (th->get_message_cls, 0, NULL));
+  GNUNET_free (th);
 }