From: Alan T. DeKok Date: Wed, 20 Sep 2023 21:07:37 +0000 (-0400) Subject: ensure frame->retry doesn't leave a dangling pointer X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dcf70da6854978f44fdcf41f1c4b05f9b87ca62;p=thirdparty%2Ffreeradius-server.git ensure frame->retry doesn't leave a dangling pointer --- diff --git a/src/lib/unlang/unlang_priv.h b/src/lib/unlang/unlang_priv.h index e01d6f02b87..f7b86c9c282 100644 --- a/src/lib/unlang/unlang_priv.h +++ b/src/lib/unlang/unlang_priv.h @@ -499,7 +499,7 @@ static inline void frame_pop(request_t *request, unlang_stack_t *stack) * we need to keep frame->retry around to ensure that we * know how to _stop_ the retries after they've hit a timeout. */ - talloc_free(frame->retry); + TALLOC_FREE(frame->retry); frame_cleanup(frame);