Fixed memory leak when handling IKEv1 error notifications.
This commit is contained in:
@@ -634,6 +634,7 @@ static status_t process_request(private_task_manager_t *this,
|
|||||||
if(notify->get_notify_type(notify) < 16384)
|
if(notify->get_notify_type(notify) < 16384)
|
||||||
{
|
{
|
||||||
DBG1(DBG_IKE, "Received %N error notification.", notify_type_names, notify->get_notify_type(notify));
|
DBG1(DBG_IKE, "Received %N error notification.", notify_type_names, notify->get_notify_type(notify));
|
||||||
|
enumerator->destroy(enumerator);
|
||||||
return FAILED;
|
return FAILED;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user