destroy attributes, too

This commit is contained in:
Andreas Steffen 2011-12-18 17:34:53 +01:00
parent 8982b70298
commit a98262ff6e
1 changed files with 1 additions and 1 deletions

View 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);