Skip to content

Commit

Permalink
Set type of talloc chunk when memduping it
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Jan 30, 2018
1 parent 851565d commit a8656d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit a8656d3

Please sign in to comment.