eap-tnc: Free eap-tnc object if IKE_SA not found to get IPs

This commit is contained in:
Tobias Brunner 2015-03-25 13:24:37 +01:00
parent 97c7dc6d14
commit 328db935bb
1 changed files with 1 additions and 0 deletions

View File

@ -311,6 +311,7 @@ static eap_tnc_t *eap_tnc_create(identification_t *server,
{
DBG1(DBG_TNC, "%N constructor did not find IKE_SA",
eap_type_names, type);
free(this);
return NULL;
}
if (is_server)