diff options
author | Martin Willi <martin@strongswan.org> | 2009-05-11 10:11:20 +0200 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-05-11 10:42:52 +0200 |
commit | b81917ea0019cec2b2d127c8e5afc189627efa03 (patch) | |
tree | 233f2a0e9dfdc69c9456ab4e43d8c201d8e17107 /src | |
parent | d36ae9e305be1eec324d7d28580e33ec52f24f15 (diff) | |
download | strongswan-b81917ea0019cec2b2d127c8e5afc189627efa03.tar.bz2 strongswan-b81917ea0019cec2b2d127c8e5afc189627efa03.tar.xz |
fixed memleak
Diffstat (limited to 'src')
-rw-r--r-- | src/charon/sa/tasks/ike_config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/charon/sa/tasks/ike_config.c b/src/charon/sa/tasks/ike_config.c index b97290583..a968c66aa 100644 --- a/src/charon/sa/tasks/ike_config.c +++ b/src/charon/sa/tasks/ike_config.c @@ -278,6 +278,7 @@ static status_t build_r(private_ike_config_t *this, message_t *message) cp->set_config_type(cp, CFG_REQUEST); build_vip(this, vip, cp); + vip->destroy(vip); /* if we add an IP, we also look for other attributes */ enumerator = charon->attributes->create_attribute_enumerator( |