From 2b978201c67608884bb23f0dec94b01e20dc6797 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 20 Nov 2007 11:23:37 +0000 Subject: [PATCH] We should never have an object when we hit the error state. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2265 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_center.c | 1 + 1 file changed, 1 insertion(+) diff --git a/varnish-cache/bin/varnishd/cache_center.c b/varnish-cache/bin/varnishd/cache_center.c index eda2efd7..efc78259 100644 --- a/varnish-cache/bin/varnishd/cache_center.c +++ b/varnish-cache/bin/varnishd/cache_center.c @@ -275,6 +275,7 @@ static int cnt_error(struct sess *sp) { + AZ(sp->obj); RES_Error(sp, sp->err_code, sp->err_reason); sp->err_code = 0; sp->err_reason = NULL; -- 2.39.5