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

List:       varnish-commit
Subject:    [master] 3ef8142a5 Plug minor leak reported by coverity
From:       Federico G. Schwindt <fgsch () lodoss ! net>
Date:       2019-05-26 18:08:10
Message-ID: 20190526180810.2B450103396 () lists ! varnish-cache ! org
[Download RAW message or body]


commit 3ef8142a51d75e91bc7795b38cd1c9bb28239932
Author: Federico G. Schwindt <fgsch@lodoss.net>
Date:   Sun May 26 19:04:09 2019 +0100

    Plug minor leak reported by coverity

diff --git a/lib/libvcc/vcc_vmod.c b/lib/libvcc/vcc_vmod.c
index a9c2ffe33..fad1006a1 100644
--- a/lib/libvcc/vcc_vmod.c
+++ b/lib/libvcc/vcc_vmod.c
@@ -332,6 +332,7 @@ vcc_ParseImport(struct vcc *tl)
 			msym->extra = vsym->extra;
 			msym->vmod_name = vsym->vmod_name;
 			AZ(dlclose(vop->hdl));
+			free(fnpx);
 			return;
 		}
 	}
_______________________________________________
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