summaryrefslogtreecommitdiff
path: root/source3/python/py_smb.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-12-23 23:53:56 +0000
committerJeremy Allison <jra@samba.org>2002-12-23 23:53:56 +0000
commit0fdf60f0512f1a4443e315d764d59636c2075fe7 (patch)
tree4fa8b751ad63a6ffaf2046081edf63d3963df420 /source3/python/py_smb.c
parent54af5d0f252739240b933b61dffda445d1ca1337 (diff)
downloadsamba-0fdf60f0512f1a4443e315d764d59636c2075fe7.tar.gz
samba-0fdf60f0512f1a4443e315d764d59636c2075fe7.tar.bz2
samba-0fdf60f0512f1a4443e315d764d59636c2075fe7.zip
Finish adding strings to all talloc_init() calls.
Jeremy. (This used to be commit 784d15761c3271bfd602866f8f9f880dac77671c)
Diffstat (limited to 'source3/python/py_smb.c')
-rw-r--r--source3/python/py_smb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/python/py_smb.c b/source3/python/py_smb.c
index efb7d0a5fd..8d81176e4d 100644
--- a/source3/python/py_smb.c
+++ b/source3/python/py_smb.c
@@ -232,7 +232,7 @@ static PyObject *py_smb_query_secdesc(PyObject *self, PyObject *args,
args, kw, "i", kwlist, &fnum))
return NULL;
- mem_ctx = talloc_init();
+ mem_ctx = talloc_init("py_smb_query_secdesc");
secdesc = cli_query_secdesc(cli->cli, fnum, mem_ctx);
@@ -269,7 +269,7 @@ static PyObject *py_smb_set_secdesc(PyObject *self, PyObject *args,
static char *kwlist[] = { "fnum", "security_descriptor", NULL };
PyObject *py_secdesc;
SEC_DESC *secdesc;
- TALLOC_CTX *mem_ctx = talloc_init();
+ TALLOC_CTX *mem_ctx = talloc_init("py_smb_set_secdesc");
int fnum;
BOOL result;