]> err.no Git - varnish/commitdiff
Remember to reset te bereq's workspace after use.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 29 Oct 2007 09:16:13 +0000 (09:16 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 29 Oct 2007 09:16:13 +0000 (09:16 +0000)
NB: This should be merged back to 1.1

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2181 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_backend.c

index c2c8f283119a2985e95d3461b6ee6b47e5ef20ae..1b2b9ca421d34872cc53eaf1c7410052c93942e5 100644 (file)
@@ -161,6 +161,7 @@ VBE_free_bereq(struct bereq *bereq)
 {
 
        CHECK_OBJ_NOTNULL(bereq, BEREQ_MAGIC);
+       WS_Reset(bereq->ws, NULL);
        LOCK(&VBE_mtx);
        VTAILQ_INSERT_HEAD(&bereq_head, bereq, list);
        UNLOCK(&VBE_mtx);