From: Christian Grothoff Date: Fri, 16 Sep 2011 13:54:56 +0000 (+0000) Subject: leak, c3053 X-Git-Tag: initial-import-from-subversion-38251~17081 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=24c6b8b0847e752c0001abd30d0c4d02f6761897;p=oweals%2Fgnunet.git leak, c3053 --- diff --git a/src/vpn/gnunet-daemon-exit.c b/src/vpn/gnunet-daemon-exit.c index abafe9ed6..7cd6d98d9 100644 --- a/src/vpn/gnunet-daemon-exit.c +++ b/src/vpn/gnunet-daemon-exit.c @@ -1133,8 +1133,8 @@ receive_tcp_remote (void *cls &s->addr, tunnel, state, (struct ip6_pkt *) buf); break; default: + GNUNET_free (state); return GNUNET_SYSERR; - break; } hash_redirect_info (&state->hash, &state->redirect_info, s->addrlen);