Commit 7ab07e8e authored by Geoff Simmons's avatar Geoff Simmons

Fix a memory leak.

parent ae21fb5c
......@@ -659,6 +659,7 @@ VPFX(event)(VRT_CTX, struct vmod_priv *priv, enum vcl_event_e e)
VSLIST_REMOVE_HEAD(th, list);
FREE_OBJ(ent);
}
free(th);
return (0);
case VCL_EVENT_WARM:
VSLIST_FOREACH(ent, th, list) {
......
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