-fix leak
authorChristian Grothoff <christian@grothoff.org>
Fri, 26 Aug 2016 12:41:48 +0000 (12:41 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 26 Aug 2016 12:41:48 +0000 (12:41 +0000)
src/exit/gnunet-daemon-exit.c

index 496ca25f80391079d82d91cb389434bb8ec5a5ea..790780aa64d5e756235276b72288469aad489220 100644 (file)
@@ -3641,6 +3641,7 @@ advertise_dns_exit ()
                               "dns",
                                "DNS_RESOLVER",
                               _("need a valid IPv4 or IPv6 address\n"));
+    GNUNET_free_non_null (dns_exit);
     return;
   }
   /* open port */