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 58763e9..a62ec5e 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");
                        }
                }