[experimental-ims] 2befbaf Add a missing WS_Release()
Geoff Simmons
geoff at varnish-cache.org
Mon Jan 9 21:52:30 CET 2012
commit 2befbaf97ce358dcb8d74c5e7e5ff8b3b38f87ff
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Nov 8 14:50:11 2011 +0000
Add a missing WS_Release()
diff --git a/bin/varnishd/cache_vrt_re.c b/bin/varnishd/cache_vrt_re.c
index 955b7bf..d6dc5d5 100644
--- a/bin/varnishd/cache_vrt_re.c
+++ b/bin/varnishd/cache_vrt_re.c
@@ -143,6 +143,7 @@ VRT_regsub(const struct sess *sp, int all, const char *str, void *re,
i = VRE_exec(t, str, len, 0, options, ovector, 30,
¶ms->vre_limits);
if (i < VRE_ERROR_NOMATCH ) {
+ WS_Release(sp->http->ws, 0);
WSP(sp, SLT_VCL_Error,
"Regexp matching returned %d", i);
return(str);
More information about the varnish-commit
mailing list