aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libpts/plugins/imv_attestation/imv_attestation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libpts/plugins/imv_attestation/imv_attestation.c b/src/libpts/plugins/imv_attestation/imv_attestation.c
index cd6f5b524..30c1832ad 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);