1
0
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:
Volker Lendecke 2009-01-20 14:34:14 +01:00
parent bd576b93bd
commit bd4718d281

View File

@ -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 );