1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

Finish adding strings to all talloc_init() calls.

Jeremy.
This commit is contained in:
Jeremy Allison
-
parent 35d00bacdc
commit aa8439a49e
13 changed files with 28 additions and 29 deletions

View File

@ -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;