[master] a3696e6 Plug another tiny leak

Federico G. Schwindt fgsch at lodoss.net
Fri Mar 30 18:58:11 UTC 2018


commit a3696e650951f397b2952c62011acb73f59520fe
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Fri Mar 30 15:34:16 2018 -0300

    Plug another tiny leak

diff --git a/bin/varnishadm/varnishadm.c b/bin/varnishadm/varnishadm.c
index db42d31..69f3195 100644
--- a/bin/varnishadm/varnishadm.c
+++ b/bin/varnishadm/varnishadm.c
@@ -282,6 +282,7 @@ interactive(int sock)
 			}
 		}
 	}
+	free(answer);
 	cli_write(sock, "banner\n");
 	while (1) {
 		i = poll(fds, 2, -1);


More information about the varnish-commit mailing list