mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
Make use of TALLOC_FREE
This commit is contained in:
parent
bd576b93bd
commit
bd4718d281
@ -883,9 +883,7 @@ static int close_internal_rpc_pipe_hnd(struct pipes_struct *p)
|
||||
(*p->auth.auth_data_free_func)(&p->auth);
|
||||
}
|
||||
|
||||
if (p->mem_ctx) {
|
||||
talloc_destroy(p->mem_ctx);
|
||||
}
|
||||
TALLOC_FREE(p->mem_ctx);
|
||||
|
||||
free_pipe_rpc_context( p->contexts );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user