[master] 247ef72 Another harmless memleak

Federico G. Schwindt fgsch at lodoss.net
Sat Aug 19 01:07:10 CEST 2017


commit 247ef72d475b977de551cd1e7417780b02ece8b9
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Sat Aug 19 00:04:37 2017 +0100

    Another harmless memleak
    
    Reported by LSAN.

diff --git a/lib/libvarnishapi/vsl.c b/lib/libvarnishapi/vsl.c
index 3a879d3..361a2bf 100644
--- a/lib/libvarnishapi/vsl.c
+++ b/lib/libvarnishapi/vsl.c
@@ -114,6 +114,7 @@ vsl_IX_free(vslf_list *filters)
 		AN(vslf->vre);
 		VRE_free(&vslf->vre);
 		AZ(vslf->vre);
+		FREE_OBJ(vslf);
 	}
 }
 



More information about the varnish-commit mailing list