[prev in list] [next in list] [prev in thread] [next in thread]
List: varnish-commit
Subject: [master] b94e12a58 plug insignificant vcc leak
From: Nils Goroll <nils.goroll () uplex ! de>
Date: 2020-12-23 11:56:06
Message-ID: 20201223115606.9D98B64C13 () lists ! varnish-cache ! org
[Download RAW message or body]
commit b94e12a58a248f9f976398aeaa04720a70267c40
Author: Nils Goroll <nils.goroll@uplex.de>
Date: Wed Dec 23 12:54:54 2020 +0100
plug insignificant vcc leak
reported by coverity
diff --git a/lib/libvcc/vcc_acl.c b/lib/libvcc/vcc_acl.c
index 795a7571d..47c0b4ef2 100644
--- a/lib/libvcc/vcc_acl.c
+++ b/lib/libvcc/vcc_acl.c
@@ -277,6 +277,7 @@ vcc_acl_try_getaddrinfo(struct vcc *tl, struct acl_e *ae)
"Mask (/%u) specified, but string resolves to"
" both IPv4 and IPv6 addresses.\n", ae->mask);
vcc_ErrWhere(tl, ae->t_mask);
+ freeaddrinfo(res0);
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