diff options
author | Volker Lendecke <vl@samba.org> | 2009-01-20 14:34:14 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-01-20 14:34:51 +0100 |
commit | bd4718d2812f5f59d890be0284642ab78c3f1bc2 (patch) | |
tree | db7428375353a6e68d8ed919428f06ae600a0890 /source3 | |
parent | bd576b93bd8a136e1da8cbac154aa87ab1873c1c (diff) | |
download | samba-bd4718d2812f5f59d890be0284642ab78c3f1bc2.tar.gz samba-bd4718d2812f5f59d890be0284642ab78c3f1bc2.tar.bz2 samba-bd4718d2812f5f59d890be0284642ab78c3f1bc2.zip |
Make use of TALLOC_FREE
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_pipe_hnd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c index 7d1f824234..e574f0387d 100644 --- a/source3/rpc_server/srv_pipe_hnd.c +++ b/source3/rpc_server/srv_pipe_hnd.c @@ -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 ); |