summaryrefslogtreecommitdiffstats
path: root/source/smbd/nttrans.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-12-20 20:21:31 +0000
committerJeremy Allison <jra@samba.org>2002-12-20 20:21:31 +0000
commit09a218a9f6fb0bd922940467bf8500eb4f1bcf84 (patch)
tree02ee383b5b2c2ff4c34a5dfa15af12d0d8b114bf /source/smbd/nttrans.c
parent0637f582fe1d41f8ef247e5989f84caa72162f05 (diff)
downloadsamba-09a218a9f6fb0bd922940467bf8500eb4f1bcf84.tar.gz
samba-09a218a9f6fb0bd922940467bf8500eb4f1bcf84.tar.xz
samba-09a218a9f6fb0bd922940467bf8500eb4f1bcf84.zip
Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them. Jeremy.
Diffstat (limited to 'source/smbd/nttrans.c')
-rw-r--r--source/smbd/nttrans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/nttrans.c b/source/smbd/nttrans.c
index bdefa6c4c1d..740f450db6f 100644
--- a/source/smbd/nttrans.c
+++ b/source/smbd/nttrans.c
@@ -985,7 +985,7 @@ static NTSTATUS set_sd(files_struct *fsp, char *data, uint32 sd_len, uint32 secu
* Init the parse struct we will unmarshall from.
*/
- if ((mem_ctx = talloc_init()) == NULL) {
+ if ((mem_ctx = talloc_init("set_sd")) == NULL) {
DEBUG(0,("set_sd: talloc_init failed.\n"));
return NT_STATUS_NO_MEMORY;
}
@@ -1538,7 +1538,7 @@ static int call_nt_transact_query_security_desc(connection_struct *conn,
*ppparams = params;
- if ((mem_ctx = talloc_init()) == NULL) {
+ if ((mem_ctx = talloc_init("call_nt_transact_query_security_desc")) == NULL) {
DEBUG(0,("call_nt_transact_query_security_desc: talloc_init failed.\n"));
return ERROR_DOS(ERRDOS,ERRnomem);
}