]> err.no Git - varnish/commitdiff
Free the session memory correctly
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 5 Jul 2006 11:09:11 +0000 (11:09 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 5 Jul 2006 11:09:11 +0000 (11:09 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@322 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_acceptor.c

index 4abb14804b0814b2676a07326a5eac0e8f89deb3..c0750ed80dc89f1e7376b295e07f36c48a419f1b 100644 (file)
@@ -242,7 +242,7 @@ vca_return_session(struct sess *sp)
        } else {
                if (sp->http != NULL)
                        http_Delete(sp->http);
-               free(sp);
+               free(sp->mem);
        }
 }