From: Andreas Steffen Date: Mon, 21 Nov 2011 21:48:17 +0000 (+0100) Subject: fixed double free X-Git-Tag: 4.6.2~178 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=893bf977c51e533b96b63a910e3349b192920e64;p=thirdparty%2Fstrongswan.git fixed double free --- diff --git a/src/libimcv/plugins/imv_attestation/imv_attestation_process.c b/src/libimcv/plugins/imv_attestation/imv_attestation_process.c index d9af63428b..d02f4dd84d 100644 --- a/src/libimcv/plugins/imv_attestation/imv_attestation_process.c +++ b/src/libimcv/plugins/imv_attestation/imv_attestation_process.c @@ -41,7 +41,6 @@ bool imv_attestation_process(pa_tnc_attr_t *attr, linked_list_t *attr_list, pts_database_t *pts_db, credential_manager_t *pts_credmgr) { - chunk_t attr_info; pts_t *pts; pts = attestation_state->get_pts(attestation_state); @@ -295,7 +294,6 @@ bool imv_attestation_process(pa_tnc_attr_t *attr, linked_list_t *attr_list, /* re-enter component into list */ attestation_state->add_component(attestation_state, comp); } - evidence->destroy(evidence); break; } case TCG_PTS_SIMPLE_EVID_FINAL: