fixed memory leak in tcg_pts_attr_simple_comp_evid.c
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 22 Nov 2011 16:14:13 +0000 (17:14 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 28 Nov 2011 20:22:02 +0000 (21:22 +0100)
src/libpts/tcg/tcg_pts_attr_simple_comp_evid.c

index 4d737fd..a8c0741 100644 (file)
@@ -396,6 +396,7 @@ METHOD(pa_tnc_attr_t, destroy, void,
        private_tcg_pts_attr_simple_comp_evid_t *this)
 {
        this->evidence->destroy(this->evidence);
+       free(this->value.ptr);
        free(this);
 }