Fixed memleak in attribute handling

This commit is contained in:
Martin Willi
2009-11-17 15:55:45 +00:00
parent d674c2ace0
commit 1427c93fcd
+1
View File
@@ -122,6 +122,7 @@ static void handle_attribute(private_ike_config_t *this,
break; break;
} }
} }
enumerator->destroy(enumerator);
/* and pass it to the handle function */ /* and pass it to the handle function */
handler = lib->attributes->handle(lib->attributes, handler = lib->attributes->handle(lib->attributes,