Commit 493368d3 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Free the session memory correctly


git-svn-id: http://www.varnish-cache.org/svn/trunk@322 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 107a53d3
...@@ -242,7 +242,7 @@ vca_return_session(struct sess *sp) ...@@ -242,7 +242,7 @@ vca_return_session(struct sess *sp)
} else { } else {
if (sp->http != NULL) if (sp->http != NULL)
http_Delete(sp->http); http_Delete(sp->http);
free(sp); free(sp->mem);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment