Fixed double free causing swapped ends to crash
This commit is contained in:
1 parent
97346f2a7e
commit
c1ebc7b1cc
1 file changed
-1
@@ -214,7 +214,6 @@ static ike_cfg_t *build_ike_cfg(private_stroke_config_t *this, stroke_msg_t *msg
|
|||||||
tmp_end = msg->add_conn.me;
|
tmp_end = msg->add_conn.me;
|
||||||
msg->add_conn.me = msg->add_conn.other;
|
msg->add_conn.me = msg->add_conn.other;
|
||||||
msg->add_conn.other = tmp_end;
|
msg->add_conn.other = tmp_end;
|
||||||
host->destroy(host);
|
|
||||||
swapped = TRUE;
|
swapped = TRUE;
|
||||||
}
|
}
|
||||||
host->destroy(host);
|
host->destroy(host);
|
||||||
|
|||||||
Reference in new issue
Block a user