From: Alan T. DeKok Date: Thu, 19 Oct 2017 17:55:06 +0000 (-0400) Subject: detach before freeing child X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef95ca6f28fc0431ab0de0d5e244a8630cb20ccc;p=thirdparty%2Ffreeradius-server.git detach before freeing child --- diff --git a/src/main/unlang_interpret.c b/src/main/unlang_interpret.c index fade5ce7a4f..0f360300079 100644 --- a/src/main/unlang_interpret.c +++ b/src/main/unlang_interpret.c @@ -660,6 +660,7 @@ static rlm_rcode_t unlang_subrequest_resume(UNUSED REQUEST *request, rad_assert(frame->instruction->type == UNLANG_TYPE_RESUME); frame->instruction->type = UNLANG_TYPE_SUBREQUEST; /* for debug purposes */ + request_detach(child); talloc_free(child); return rcode; }