[master] be9f0b6 add a missing va_end()
Poul-Henning Kamp
phk at varnish-cache.org
Tue Oct 1 10:49:26 CEST 2013
commit be9f0b62eede0efc5e0114724a485713f09e6bd0
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Oct 1 08:43:57 2013 +0000
add a missing va_end()
Spotted by: Coverity
diff --git a/bin/varnishd/cache/cache_vrt.c b/bin/varnishd/cache/cache_vrt.c
index d137c19..850e7a3 100644
--- a/bin/varnishd/cache/cache_vrt.c
+++ b/bin/varnishd/cache/cache_vrt.c
@@ -277,6 +277,7 @@ VRT_hashdata(const struct vrt_ctx *ctx, const char *str, ...)
HSH_AddString(ctx->req, p);
VSLb(ctx->vsl, SLT_Hash, "%s", str);
}
+ va_end(ap);
/*
* Add a 'field-separator' to make it more difficult to
* manipulate the hash.
More information about the varnish-commit
mailing list