]> err.no Git - varnish/commitdiff
Dont free(3) stack variables.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 24 Jun 2007 09:55:53 +0000 (09:55 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 24 Jun 2007 09:55:53 +0000 (09:55 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1540 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/mgt_vcc.c

index 08e99af4f15fddc851ba837ba59a501118556381..c56c2e8c2b0add929a072f0f8509313018b101cb 100644 (file)
@@ -152,7 +152,6 @@ mgt_CallCc(const char *source, struct vsb *sb)
                vsb_printf(sb,
                    "Cannot open temporary source file \"%s\": %s\n",
                    sf, strerror(errno));
-               free(sf);
                return (NULL);
        }
        fs = fdopen(sfd, "r+");