Commit 266ce5fb authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Always AN function pointers before use.

parent 58f90420
......@@ -483,6 +483,7 @@ Pool_Work_Thread(struct pool *pp, struct worker *wrk)
do {
memset(wrk->task, 0, sizeof wrk->task);
assert(wrk->pool == pp);
AN(tp->func);
tp->func(wrk, tp->priv);
if (DO_DEBUG(DBG_VCLREL) && wrk->wpriv->vcl != NULL)
VCL_Rel(&wrk->wpriv->vcl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment