From: Bart Polot Date: Fri, 16 Sep 2011 17:13:13 +0000 (+0000) Subject: Fixed a use after free X-Git-Tag: initial-import-from-subversion-38251~17064 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b153da6c4c2d6d24f41c4e023e5ac384ea9733a8;p=oweals%2Fgnunet.git Fixed a use after free --- diff --git a/src/mesh/mesh_api_new.c b/src/mesh/mesh_api_new.c index 0fe990eee..17b4caced 100644 --- a/src/mesh/mesh_api_new.c +++ b/src/mesh/mesh_api_new.c @@ -881,7 +881,7 @@ process_incoming_data (struct GNUNET_MESH_Handle *h, GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "MESH: callback caused disconnection\n"); GNUNET_MESH_disconnect (h); - break; + return; } #if DEBUG else