Fixed memory leak when handling IKEv1 error notifications.

This commit is contained in:
Tobias Brunner
2012-03-20 17:31:18 +01:00
parent 4dbd81c669
commit 0793ac497a
+1
View File
@@ -634,6 +634,7 @@ static status_t process_request(private_task_manager_t *this,
if(notify->get_notify_type(notify) < 16384)
{
DBG1(DBG_IKE, "Received %N error notification.", notify_type_names, notify->get_notify_type(notify));
enumerator->destroy(enumerator);
return FAILED;
}
break;