ikev2: fix memory leaks 40/28740/2
authorBenoît Ganne <bganne@cisco.com>
Thu, 10 Sep 2020 11:54:49 +0000 (13:54 +0200)
committerDamjan Marion <dmarion@me.com>
Fri, 11 Sep 2020 06:42:12 +0000 (06:42 +0000)
commit730cec8c0697627cc1fb6a34acd094c77ba07622
tree02cd1203a8f7d515217ff81e2dc16b0e3fa6f202
parent31309fa67690d4360b0d8000daecf571ad5c0c7e
ikev2: fix memory leaks

 - make sure everything is freed on cleanup
 - reuse already allocated vectors where possible

Type: fix

Change-Id: Ibd8da1edb37126522dc2d525596521d32dceb73a
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/plugins/ikev2/ikev2.c