[master] ba37d41 Fix memory-leak spotted by Coverity
Poul-Henning Kamp
phk at varnish-cache.org
Tue Oct 1 16:27:32 CEST 2013
commit ba37d4136c6a02aad8ed92f0a304091a252e22a5
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Oct 1 14:27:22 2013 +0000
Fix memory-leak spotted by Coverity
diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index df311be..097a04b 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -543,6 +543,7 @@ vbf_stp_condfetch(struct worker *wrk, struct busyobj *bo)
st = NULL;
}
}
+ ObjIterEnd(&oi);
assert(al == bo->ims_obj->len);
assert(obj->len == al);
if (bo->state != BOS_FAILED)
More information about the varnish-commit
mailing list