From: Arran Cudbard-Bell Date: Tue, 30 Jan 2018 20:05:35 +0000 (-0700) Subject: Set type of talloc chunk when memduping it X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8656d338fc16f8a2f0df8182f310d6000d965ed;p=thirdparty%2Ffreeradius-server.git Set type of talloc chunk when memduping it --- diff --git a/src/main/auth.c b/src/main/auth.c index a6d2876bf16..bd972dd92dd 100644 --- a/src/main/auth.c +++ b/src/main/auth.c @@ -556,8 +556,8 @@ static rlm_rcode_t virtual_server_async(REQUEST *request, bool parent) fr_io_final_t final; if (parent) { - request->async = talloc_memdup(request, request->parent->async, - sizeof(fr_async_t)); + request->async = talloc_memdup(request, request->parent->async, sizeof(fr_async_t)); + talloc_set_name_const(request->async, talloc_get_name(request->parent->async)); } RDEBUG("server %s {", cf_section_name2(request->server_cs));