diff --git a/src/lib/event.c b/src/lib/event.c index c1d5a81fcf03..543139e2bcf0 100644 --- a/src/lib/event.c +++ b/src/lib/event.c @@ -215,6 +215,10 @@ int fr_event_run(fr_event_list_t *el, struct timeval *when) return 0; } +#ifndef NDEBUG + ev = talloc_get_type_abort(ev, fr_event_t); +#endif + /* * See if it's time to do this one. */