ike: Fix memory leak if remote address is kept
This commit is contained in:
1 parent
81f1aa8dc3
commit
faebdeac8e
1 file changed
+4
@@ -1230,6 +1230,10 @@ static void resolve_hosts(private_ike_sa_t *this)
|
||||
* address family might have changed */
|
||||
set_other_host(this, host);
|
||||
}
|
||||
else
|
||||
{
|
||||
host->destroy(host);
|
||||
}
|
||||
}
|
||||
|
||||
if (this->local_host)
|
||||
|
||||
Reference in new issue
Block a user