From 42a73ecc12fe3f8a6c5ede972cd3f5410b724454 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 5 Jul 2006 11:09:11 +0000 Subject: [PATCH] Free the session memory correctly git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@322 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_acceptor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishd/cache_acceptor.c b/varnish-cache/bin/varnishd/cache_acceptor.c index 4abb1480..c0750ed8 100644 --- a/varnish-cache/bin/varnishd/cache_acceptor.c +++ b/varnish-cache/bin/varnishd/cache_acceptor.c @@ -242,7 +242,7 @@ vca_return_session(struct sess *sp) } else { if (sp->http != NULL) http_Delete(sp->http); - free(sp); + free(sp->mem); } } -- 2.39.5