diff options
author | Tobias Brunner <tobias@strongswan.org> | 2014-07-01 12:31:07 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2014-07-01 17:58:36 +0200 |
commit | ecb55b4639997f7d5e206994b7e008e6630a994f (patch) | |
tree | 512038e4ccb3f03cea2b97502c44ed049d1f5b30 /src | |
parent | 530d87be1bec8514507782e045cef064e248a916 (diff) | |
download | strongswan-ecb55b4639997f7d5e206994b7e008e6630a994f.tar.bz2 strongswan-ecb55b4639997f7d5e206994b7e008e6630a994f.tar.xz |
imv-attestation: Avoid memory leak when skipping unsupported work items
Diffstat (limited to 'src')
-rw-r--r-- | src/libpts/plugins/imv_attestation/imv_attestation_agent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libpts/plugins/imv_attestation/imv_attestation_agent.c b/src/libpts/plugins/imv_attestation/imv_attestation_agent.c index 1e4955c2b..fcfee31c1 100644 --- a/src/libpts/plugins/imv_attestation/imv_attestation_agent.c +++ b/src/libpts/plugins/imv_attestation/imv_attestation_agent.c @@ -802,6 +802,7 @@ METHOD(imv_agent_if_t, solicit_recommendation, TNC_Result, result_str = result_buf.ptr; break; default: + result->destroy(result); continue; } session->remove_workitem(session, enumerator); |