From: Andreas Steffen Date: Sun, 18 Dec 2011 16:34:53 +0000 (+0100) Subject: destroy attributes, too X-Git-Tag: 4.6.2~92 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a98262ff6edb05b4d3e0996a40e63f6bb4725227;p=thirdparty%2Fstrongswan.git destroy attributes, too --- diff --git a/src/libpts/plugins/imv_attestation/imv_attestation.c b/src/libpts/plugins/imv_attestation/imv_attestation.c index cd6f5b5244..30c1832ad7 100644 --- a/src/libpts/plugins/imv_attestation/imv_attestation.c +++ b/src/libpts/plugins/imv_attestation/imv_attestation.c @@ -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);