aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2011-12-18 17:34:53 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2011-12-18 17:34:53 +0100
commita98262ff6edb05b4d3e0996a40e63f6bb4725227 (patch)
tree3deab5107a6d950c3ef7b857f6031e3dd3d03b16 /src
parent8982b702984a08bdcc568fa63402b3d012e440aa (diff)
downloadstrongswan-a98262ff6edb05b4d3e0996a40e63f6bb4725227.tar.bz2
strongswan-a98262ff6edb05b4d3e0996a40e63f6bb4725227.tar.xz
destroy attributes, too
Diffstat (limited to 'src')
-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);