destroy oversized attributes
[strongswan.git] / src / libimcv / imv / imv_agent.c
index 68bde26..d7c614a 100644 (file)
@@ -537,6 +537,7 @@ METHOD(imv_agent_t, send_message, TNC_Result,
                                else
                                {
                                        DBG1(DBG_IMV, "PA-TNC attribute too large to send, deleted");
+                                       attr->destroy(attr);
                                }
                        }
                        attr_list->remove_at(attr_list, enumerator);