From: Martin Willi Date: Tue, 17 Nov 2009 15:55:45 +0000 (+0000) Subject: Fixed memleak in attribute handling X-Git-Tag: 4.3.6~194 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1427c93fcdab3eb3bfb83a657cd834c547339361;p=thirdparty%2Fstrongswan.git Fixed memleak in attribute handling --- diff --git a/src/charon/sa/tasks/ike_config.c b/src/charon/sa/tasks/ike_config.c index 1c222fa8cf..09250ff467 100644 --- a/src/charon/sa/tasks/ike_config.c +++ b/src/charon/sa/tasks/ike_config.c @@ -122,6 +122,7 @@ static void handle_attribute(private_ike_config_t *this, break; } } + enumerator->destroy(enumerator); /* and pass it to the handle function */ handler = lib->attributes->handle(lib->attributes,