]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
ensure frame->retry doesn't leave a dangling pointer
authorAlan T. DeKok <aland@freeradius.org>
Wed, 20 Sep 2023 21:07:37 +0000 (17:07 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 23 Sep 2023 11:57:15 +0000 (07:57 -0400)
src/lib/unlang/unlang_priv.h

index e01d6f02b87d43ec6b30fe779ef0e494ba961cf6..f7b86c9c282d8afcda8f7a569c07602ef0527b1b 100644 (file)
@@ -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);