[master] 8fb2900 Fix the fix

Federico G. Schwindt fgsch at lodoss.net
Mon Sep 12 12:42:11 CEST 2016


commit 8fb2900a5260f9ba0441c46038ed90f75af6a7ba
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Mon Sep 12 11:41:08 2016 +0100

    Fix the fix

diff --git a/bin/varnishtest/vtc_main.c b/bin/varnishtest/vtc_main.c
index 4492b36..c6d2a99 100644
--- a/bin/varnishtest/vtc_main.c
+++ b/bin/varnishtest/vtc_main.c
@@ -402,7 +402,7 @@ i_mode(void)
 	/*
 	 * strict jemalloc checking
 	 */
-	AZ(putenv((char *)"MALLOC_CONF=abort:true,redzone:true,junk:true"));
+	AZ(putenv(strdup("MALLOC_CONF=abort:true,redzone:true,junk:true")));
 }
 
 /**********************************************************************



More information about the varnish-commit mailing list