Skip to content

Commit

Permalink
Free the right thing
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Dec 14, 2019
1 parent 916e593 commit b1f401a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/server/request.c
Expand Up @@ -287,7 +287,7 @@ REQUEST *request_alloc_local(TALLOC_CTX *ctx)

request_init(request);

talloc_set_destructor(ctx, _request_local_free);
talloc_set_destructor(request, _request_local_free);

return request;
}
Expand Down

0 comments on commit b1f401a

Please sign in to comment.