ikev1: Fix double free when searching for redundant CHILD_SAs
Fixes #411.
This commit is contained in:
1 parent
be8179abd2
commit
fafa768478
1 file changed
+1
-1
@@ -1785,7 +1785,7 @@ static bool have_equal_ts(child_sa_t *child1, child_sa_t *child2, bool local)
|
||||
{
|
||||
equal = ts1->equals(ts1, ts2);
|
||||
}
|
||||
e1->destroy(e1);
|
||||
e2->destroy(e2);
|
||||
e1->destroy(e1);
|
||||
|
||||
return equal;
|
||||
|
||||
Reference in new issue
Block a user