Use VRT_RemoveFilter instead of VRT_RemoveVDP

parent b309c343
...@@ -620,7 +620,7 @@ vmod_event(VRT_CTX, struct vmod_priv *priv, enum vcl_event_e e) ...@@ -620,7 +620,7 @@ vmod_event(VRT_CTX, struct vmod_priv *priv, enum vcl_event_e e)
&vfp_priv->vsc_seg); &vfp_priv->vsc_seg);
/* XXX free(vfp_priv->stats) ? */ /* XXX free(vfp_priv->stats) ? */
} }
VRT_RemoveVFP(ctx, vfpe->vfp); VRT_RemoveFilter(ctx, vfpe->vfp, NULL);
free(vfpe->vfp); free(vfpe->vfp);
} }
VSLIST_REMOVE_HEAD(vfph, list); VSLIST_REMOVE_HEAD(vfph, 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