[master] 3d6f0da Plug an insignificant memleak
Federico G. Schwindt
fgsch at lodoss.net
Fri Aug 18 23:22:11 CEST 2017
commit 3d6f0dafc61b42eabe81728aa54074a73b0a5a41
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Fri Aug 18 21:41:29 2017 +0100
Plug an insignificant memleak
Reported by LSAN.
diff --git a/lib/libvarnishapi/vsm.c b/lib/libvarnishapi/vsm.c
index b397912..9a41974 100644
--- a/lib/libvarnishapi/vsm.c
+++ b/lib/libvarnishapi/vsm.c
@@ -266,6 +266,7 @@ VSM_Destroy(struct vsm **vdp)
VSC_Delete(vd->vsc);
VSM_ResetError(vd);
free(vd->dname);
+ free(vd->iname);
FREE_OBJ(vd);
}
More information about the varnish-commit
mailing list