[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-commit
Subject:    [master] 047a30e Plug tiny leak
From:       Federico G. Schwindt <fgsch () lodoss ! net>
Date:       2018-03-30 14:39:08
Message-ID: 20180330143908.687DE97283 () lists ! varnish-cache ! org
[Download RAW message or body]


commit 047a30e2b5025d4654f94b6f09c47c043679daf3
Author: Federico G. Schwindt <fgsch@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 fe16d89..981c5bf 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;
 }
 
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic