From 4a8570fb574c512321c8044e24e53de7a82e22db Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 5 Aug 2007 20:47:16 +0000 Subject: [PATCH] Add missing assert git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1799 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/stevedore.c | 1 + 1 file changed, 1 insertion(+) diff --git a/varnish-cache/bin/varnishd/stevedore.c b/varnish-cache/bin/varnishd/stevedore.c index deaa56fe..7a15faf6 100644 --- a/varnish-cache/bin/varnishd/stevedore.c +++ b/varnish-cache/bin/varnishd/stevedore.c @@ -112,6 +112,7 @@ STV_add(const char *spec) xxxassert(q != NULL); stv = malloc(sizeof *stv); + AN(stv); if (!cmp_storage(&sma_stevedore, spec, p)) { *stv = sma_stevedore; -- 2.39.5