leak, c3053
authorChristian Grothoff <christian@grothoff.org>
Fri, 16 Sep 2011 13:54:56 +0000 (13:54 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 16 Sep 2011 13:54:56 +0000 (13:54 +0000)
src/vpn/gnunet-daemon-exit.c

index abafe9ed67beba61c76f7287c2aca3567b71c8f2..7cd6d98d9dab27292590ee371013f365409e5422 100644 (file)
@@ -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);