r1540 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Sun Jun 24 11:55:53 CEST 2007


Author: phk
Date: 2007-06-24 11:55:53 +0200 (Sun, 24 Jun 2007)
New Revision: 1540

Modified:
   trunk/varnish-cache/bin/varnishd/mgt_vcc.c
Log:
Dont free(3) stack variables.


Modified: trunk/varnish-cache/bin/varnishd/mgt_vcc.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_vcc.c	2007-06-24 09:41:55 UTC (rev 1539)
+++ trunk/varnish-cache/bin/varnishd/mgt_vcc.c	2007-06-24 09:55:53 UTC (rev 1540)
@@ -152,7 +152,6 @@
 		vsb_printf(sb,
 		    "Cannot open temporary source file \"%s\": %s\n",
 		    sf, strerror(errno));
-		free(sf);
 		return (NULL);
 	}
 	fs = fdopen(sfd, "r+");




More information about the varnish-commit mailing list