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

List:       varnish-commit
Subject:    [master] a3696e6 Plug another tiny leak
From:       Federico G. Schwindt <fgsch () lodoss ! net>
Date:       2018-03-30 18:58:11
Message-ID: 20180330185811.D392FA0603 () lists ! varnish-cache ! org
[Download RAW message or body]


commit a3696e650951f397b2952c62011acb73f59520fe
Author: Federico G. Schwindt <fgsch@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);
_______________________________________________
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