diff options
author | Jeremy Allison <jra@samba.org> | 2002-12-23 23:54:10 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-12-23 23:54:10 +0000 |
commit | 98ac4503aca8f5a5a4268d89791e9a4491ce8645 (patch) | |
tree | b2924c73e39c05a8c3bf234a677f43ef821dd4cd /source3/python/py_smb.c | |
parent | fa997c54eb266b6203945827b332600cd58f1379 (diff) | |
download | samba-98ac4503aca8f5a5a4268d89791e9a4491ce8645.tar.gz samba-98ac4503aca8f5a5a4268d89791e9a4491ce8645.tar.bz2 samba-98ac4503aca8f5a5a4268d89791e9a4491ce8645.zip |
Finish adding strings to all talloc_init() calls.
Jeremy.
(This used to be commit aa8439a49ec4b9f433745fefa1e769e45398f4df)
Diffstat (limited to 'source3/python/py_smb.c')
-rw-r--r-- | source3/python/py_smb.c | 4 |
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; |