From: Arran Cudbard-Bell Date: Thu, 9 Apr 2020 03:09:58 +0000 (-0500) Subject: track: We still probably want this check for non-debug builds X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c827f95f084eb4669c4a5e25c1f4e6906e55b28b;p=thirdparty%2Ffreeradius-server.git track: We still probably want this check for non-debug builds --- diff --git a/src/modules/rlm_radius/track.c b/src/modules/rlm_radius/track.c index 32bc36e3e74..0be1a6f8ffb 100644 --- a/src/modules/rlm_radius/track.c +++ b/src/modules/rlm_radius/track.c @@ -115,7 +115,7 @@ int radius_track_entry_reserve(radius_track_entry_t **te_out, { radius_track_entry_t *te; - rad_assert(!*te_out); /* Must be NULL */ + if (!fr_cond_assert_msg(!*te_out, "Expected tracking entry to be NULL")) return; retry: te = fr_dlist_head(&tt->free_list);