]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
fixed double free
authorAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 21 Nov 2011 22:35:44 +0000 (23:35 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 28 Nov 2011 20:22:02 +0000 (21:22 +0100)
src/libimcv/plugins/imv_attestation/imv_attestation_process.c

index d02f4dd84dc94e43f8405f0fddac06745ff2f2ba..29f1140b946a1e1cf45e99b3da765a0caa14c153 100644 (file)
@@ -276,7 +276,6 @@ bool imv_attestation_process(pa_tnc_attr_t *attr, linked_list_t *attr_list,
                        if (!comp)
                        {
                                DBG1(DBG_IMV, "  no entry found for component evidence request");
-                               evidence->destroy(evidence);
                                break;
                        }
                        status = comp->verify(comp, pts, pts_db, evidence);