[master] 656f77146 additional sanity checks while the priv fini change soaks in
Nils Goroll
nils.goroll at uplex.de
Mon Jan 18 15:46:07 UTC 2021
commit 656f77146540cff79e345e5a8ebfa19b866e2705
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Mon Nov 30 18:37:14 2020 +0100
additional sanity checks while the priv fini change soaks in
diff --git a/bin/varnishd/cache/cache_vrt_priv.c b/bin/varnishd/cache/cache_vrt_priv.c
index b35477420..b265e061b 100644
--- a/bin/varnishd/cache/cache_vrt_priv.c
+++ b/bin/varnishd/cache/cache_vrt_priv.c
@@ -273,6 +273,9 @@ VRT_priv_fini(VRT_CTX, const struct vmod_priv *p)
if (p->priv == NULL || m->fini == NULL)
return;
+ // XXX remove me after soak in
+ VRT_CTX_Assert(ctx);
+
m->fini(ctx, p->priv);
}
More information about the varnish-commit
mailing list