From: Arran Cudbard-Bell Date: Fri, 28 Mar 2025 05:45:38 +0000 (-0600) Subject: Check for parent not tl->parent X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a92f4593fdfd87418ef085def698626077404d0;p=thirdparty%2Ffreeradius-server.git Check for parent not tl->parent --- diff --git a/src/lib/util/timer.c b/src/lib/util/timer.c index 419cdfbdc3b..2b09c66e96a 100644 --- a/src/lib/util/timer.c +++ b/src/lib/util/timer.c @@ -1017,7 +1017,7 @@ static fr_timer_list_t *timer_list_alloc(TALLOC_CTX *ctx, fr_timer_list_t *paren } timer_talloc_init(&tl->deferred); - if (tl->parent) { + if (parent) { tl->parent = parent; tl->pub.time = parent->pub.time; } else {