From: Matthias Wachs Date: Tue, 4 Dec 2012 14:02:47 +0000 (+0000) Subject: mem leak X-Git-Tag: initial-import-from-subversion-38251~10640 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=59020e95cbee41e514c962c7383afa5157615f11;p=oweals%2Fgnunet.git mem leak --- diff --git a/src/ats/gnunet-service-ats_addresses.c b/src/ats/gnunet-service-ats_addresses.c index d03d186c8..b83682270 100644 --- a/src/ats/gnunet-service-ats_addresses.c +++ b/src/ats/gnunet-service-ats_addresses.c @@ -1074,6 +1074,7 @@ GAS_addresses_init (const struct GNUNET_CONFIGURATION_Handle *cfg, GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Invalid ressource assignment method `%s' configured, using simplistic approch\n", mode_str); ah->ats_mode = MODE_SIMPLISTIC; } + GNUNET_free (mode_str); } /* Start configured solution method */ switch (ah->ats_mode)