From: phk Date: Sun, 5 Aug 2007 20:47:16 +0000 (+0000) Subject: Add missing assert X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a8570fb574c512321c8044e24e53de7a82e22db;p=varnish Add missing assert git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1799 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- 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;