From: Arran Cudbard-Bell Date: Fri, 28 Mar 2025 02:34:35 +0000 (-0600) Subject: Check result of disarming the child X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=857afede76a64468e82b065d20ffc998f519a65a;p=thirdparty%2Ffreeradius-server.git Check result of disarming the child --- diff --git a/src/lib/util/timer.c b/src/lib/util/timer.c index 6688238e972..e150bd7a416 100644 --- a/src/lib/util/timer.c +++ b/src/lib/util/timer.c @@ -271,7 +271,7 @@ static inline CC_HINT(always_inline) int timer_list_parent_update(fr_timer_list_ /* * Disables the timer in the parent, does not free the memory */ - if (tl->parent) fr_timer_disarm(tl->parent_ev); + if (tl->parent) if (unlikely(fr_timer_disarm(tl->parent_ev) < 0)) return -1; return 0; }