]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
destroy attributes, too
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 18 Dec 2011 16:34:53 +0000 (17:34 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 18 Dec 2011 16:34:53 +0000 (17:34 +0100)
src/libpts/plugins/imv_attestation/imv_attestation.c

index cd6f5b524417d7d59db20d265b12a702d4599626..30c1832ad7652d24ce1323726aa34aa81ea23d98 100644 (file)
@@ -298,7 +298,7 @@ static TNC_Result receive_message(TNC_IMVID imv_id,
 
        if (result != TNC_RESULT_SUCCESS)
        {
-               attr_list->destroy(attr_list);
+               attr_list->destroy_offset(attr_list, offsetof(pa_tnc_attr_t, destroy));
                state->set_recommendation(state,
                                                                TNC_IMV_ACTION_RECOMMENDATION_NO_RECOMMENDATION,
                                                                TNC_IMV_EVALUATION_RESULT_ERROR);