From: Arran Cudbard-Bell Date: Tue, 10 Sep 2019 14:27:54 +0000 (-0500) Subject: Clear break_point and return_point when moving to the next instruction or popping... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbf7533e475a5d1d49e544f02ca81c3e2ec4b9eb;p=thirdparty%2Ffreeradius-server.git Clear break_point and return_point when moving to the next instruction or popping things --- diff --git a/src/lib/unlang/interpret.c b/src/lib/unlang/interpret.c index aca79646893..a88b1e4722b 100644 --- a/src/lib/unlang/interpret.c +++ b/src/lib/unlang/interpret.c @@ -395,7 +395,12 @@ static inline unlang_frame_action_t result_calculate(REQUEST *request, unlang_st */ static inline void frame_cleanup(unlang_stack_frame_t *frame) { + /* + * Don't clear top_frame flag, bad things happen... + */ repeatable_clear(frame); + break_point_clear(frame); + return_point_clear(frame); if (frame->state) TALLOC_FREE(frame->state); }