git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd576b9
)
Make use of TALLOC_FREE
author
Volker Lendecke
<vl@samba.org>
Tue, 20 Jan 2009 13:34:14 +0000
(14:34 +0100)
committer
Volker Lendecke
<vl@samba.org>
Tue, 20 Jan 2009 13:34:51 +0000
(14:34 +0100)
source3/rpc_server/srv_pipe_hnd.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_pipe_hnd.c
b/source3/rpc_server/srv_pipe_hnd.c
index 7d1f82423428df31c526ff3274dd40417f276832..e574f0387dd4742ed6398b9cf63fc57064481101 100644
(file)
--- 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 );