diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2017-05-28 20:05:52 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2017-05-29 10:58:33 +0200 |
commit | c82be739bc6c198552f1361e604d5ca75b891b41 (patch) | |
tree | aa705250c2d227a0120700171bcbd8562dad24be /src/libimcv/plugins | |
parent | fca4e70bd3a2b2dbfb3aff22d49979a430a93aa4 (diff) | |
download | strongswan-c82be739bc6c198552f1361e604d5ca75b891b41.tar.bz2 strongswan-c82be739bc6c198552f1361e604d5ca75b891b41.tar.xz |
imv-test: Fixed memory leak in server retry use case
Diffstat (limited to 'src/libimcv/plugins')
-rw-r--r-- | src/libimcv/plugins/imv_test/imv_test_agent.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libimcv/plugins/imv_test/imv_test_agent.c b/src/libimcv/plugins/imv_test/imv_test_agent.c index 5e4b4866a..fc14359d5 100644 --- a/src/libimcv/plugins/imv_test/imv_test_agent.c +++ b/src/libimcv/plugins/imv_test/imv_test_agent.c @@ -188,6 +188,8 @@ static TNC_Result receive_msg(private_imv_test_agent_t *this, imv_state_t *state if (retry) { test_state->set_rounds(test_state, rounds); + out_msg->destroy(out_msg); + return this->agent->request_handshake_retry( this->agent->get_id(this->agent), state->get_connection_id(state), |