]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Fixed memleak in attribute handling
authorMartin Willi <martin@strongswan.org>
Tue, 17 Nov 2009 15:55:45 +0000 (15:55 +0000)
committerMartin Willi <martin@strongswan.org>
Tue, 17 Nov 2009 15:55:45 +0000 (15:55 +0000)
src/charon/sa/tasks/ike_config.c

index 1c222fa8cfa14786f2156af334b740a11bffa5f1..09250ff467991978200ccbdf7d7e5c099eeacbe6 100644 (file)
@@ -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,