[6.0] 047a30e2b Plug tiny leak

Federico G. Schwindt fgsch at lodoss.net
Thu Aug 16 08:52:29 UTC 2018


commit 047a30e2b5025d4654f94b6f09c47c043679daf3
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Fri Mar 30 11:36:24 2018 -0300

    Plug tiny leak

diff --git a/bin/varnishd/mgt/mgt_child.c b/bin/varnishd/mgt/mgt_child.c
index fe16d8927..981c5bfea 100644
--- a/bin/varnishd/mgt/mgt_child.c
+++ b/bin/varnishd/mgt/mgt_child.c
@@ -414,6 +414,7 @@ mgt_launch_child(struct cli *cli)
 		return;
 	}
 
+	free(p);
 	child_state = CH_RUNNING;
 }
 


More information about the varnish-commit mailing list