Fixed double free causing swapped ends to crash

This commit is contained in:
Andreas Steffen 2013-09-07 08:25:10 +02:00
parent 97346f2a7e
commit c1ebc7b1cc
1 changed files with 0 additions and 1 deletions

View File

@ -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;
msg->add_conn.me = msg->add_conn.other;
msg->add_conn.other = tmp_end;
host->destroy(host);
swapped = TRUE;
}
host->destroy(host);