From: Alan T. DeKok Date: Sun, 11 Aug 2019 12:27:19 +0000 (-0400) Subject: as of 02433d85, the parent does *not* have to be "subrequest" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=602a889eeec0e7877be0a007f559ae33371e780b;p=thirdparty%2Ffreeradius-server.git as of 02433d85, the parent does *not* have to be "subrequest" --- diff --git a/src/lib/unlang/subrequest.c b/src/lib/unlang/subrequest.c index 56d3389359a..fa27bfa1e4f 100644 --- a/src/lib/unlang/subrequest.c +++ b/src/lib/unlang/subrequest.c @@ -308,7 +308,6 @@ static unlang_action_t unlang_detach(REQUEST *request, unlang_stack_frame_t *frame = &stack->frame[stack->depth]; unlang_t *instruction = frame->instruction; - rad_assert(instruction->parent->type == UNLANG_TYPE_SUBREQUEST); RDEBUG2("%s", unlang_ops[instruction->type].name); rad_assert(request->parent != NULL);