eap-tnc: Free eap-tnc object if IKE_SA not found to get IPs
This commit is contained in:
@@ -311,6 +311,7 @@ static eap_tnc_t *eap_tnc_create(identification_t *server,
|
|||||||
{
|
{
|
||||||
DBG1(DBG_TNC, "%N constructor did not find IKE_SA",
|
DBG1(DBG_TNC, "%N constructor did not find IKE_SA",
|
||||||
eap_type_names, type);
|
eap_type_names, type);
|
||||||
|
free(this);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (is_server)
|
if (is_server)
|
||||||
|
|||||||
Reference in New Issue
Block a user