diff options
author | Martin Willi <martin@strongswan.org> | 2006-07-04 13:29:16 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-07-04 13:29:16 +0000 |
commit | 1135f798985fdba143d9faede3ef9a1e2a50a916 (patch) | |
tree | aaa44df98bee67ba8f331d9b259373d491b73005 /src/charon/threads/stroke_interface.c | |
parent | 318dc7b6c4c0f71978322ee1a6ef4ca65ab0e1da (diff) | |
download | strongswan-1135f798985fdba143d9faede3ef9a1e2a50a916.tar.bz2 strongswan-1135f798985fdba143d9faede3ef9a1e2a50a916.tar.xz |
fixed memleak when initiating a connection already up
Diffstat (limited to 'src/charon/threads/stroke_interface.c')
-rwxr-xr-x | src/charon/threads/stroke_interface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/charon/threads/stroke_interface.c b/src/charon/threads/stroke_interface.c index 528d490d4..f6736a86f 100755 --- a/src/charon/threads/stroke_interface.c +++ b/src/charon/threads/stroke_interface.c @@ -505,6 +505,7 @@ static void stroke_initiate(private_stroke_t *this, stroke_msg_t *msg) { this->stroke_logger->log(this->stroke_logger, CONTROL, "connection \"%s\" already up", msg->initiate.name); + connection->destroy(connection); } while (ike_sas->remove_last(ike_sas, (void**)&ike_sa_id) == SUCCESS) { |