From: phk Date: Wed, 5 Jul 2006 11:09:11 +0000 (+0000) Subject: Free the session memory correctly X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42a73ecc12fe3f8a6c5ede972cd3f5410b724454;p=varnish Free the session memory correctly git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@322 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- 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); } }