[master] 9f7686969 Polish

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Dec 24 16:26:07 UTC 2018


commit 9f768696922519414ae89e4a6ce0bf2806f94f6d
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Dec 24 17:14:31 2018 +0100

    Polish

diff --git a/bin/varnishd/cache/cache_vrt_priv.c b/bin/varnishd/cache/cache_vrt_priv.c
index f1940ea4d..9f7612bc4 100644
--- a/bin/varnishd/cache/cache_vrt_priv.c
+++ b/bin/varnishd/cache/cache_vrt_priv.c
@@ -209,5 +209,5 @@ VCL_TaskLeave(const struct vcl *vcl, struct vrt_privs *privs)
 	VRBT_FOREACH_SAFE(vp, vrt_priv_tree, &privs->privs, vp1) {
 		VRT_priv_fini(vp->priv);
 	}
-	INIT_OBJ(privs, 0);
+	ZERO_OBJ(privs, sizeof *privs);
 }


More information about the varnish-commit mailing list