]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
fixed memleak in IKE_SA manager
authorMartin Willi <martin@strongswan.org>
Thu, 19 Apr 2007 07:04:35 +0000 (07:04 -0000)
committerMartin Willi <martin@strongswan.org>
Thu, 19 Apr 2007 07:04:35 +0000 (07:04 -0000)
src/charon/sa/ike_sa_manager.c

index 58763e9dc1965719b43d65b2a5faaaf3ec821c8b..a62ec5e3c6251d6e4c95aec966e8362eab938cf7 100644 (file)
@@ -440,6 +440,7 @@ static ike_sa_t* checkout_by_message(private_ike_sa_manager_t* this,
                        }
                        else
                        {
+                               chunk_free(&hash);
                                DBG1(DBG_MGR, "ignoring message, no such IKE_SA");
                        }
                }