summaryrefslogtreecommitdiff
path: root/source3/python/py_samr.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-12-23 23:54:10 +0000
committerJeremy Allison <jra@samba.org>2002-12-23 23:54:10 +0000
commit98ac4503aca8f5a5a4268d89791e9a4491ce8645 (patch)
treeb2924c73e39c05a8c3bf234a677f43ef821dd4cd /source3/python/py_samr.c
parentfa997c54eb266b6203945827b332600cd58f1379 (diff)
downloadsamba-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_samr.c')
-rw-r--r--source3/python/py_samr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/python/py_samr.c b/source3/python/py_samr.c
index 92a2eaf063..208274d9b5 100644
--- a/source3/python/py_samr.c
+++ b/source3/python/py_samr.c
@@ -73,7 +73,7 @@ static PyObject *samr_open_domain(PyObject *self, PyObject *args, PyObject *kw)
return NULL;
}
- if (!(mem_ctx = talloc_init())) {
+ if (!(mem_ctx = talloc_init("samr_open_domain"))) {
PyErr_SetString(samr_error, "unable to init talloc context");
return NULL;
}
@@ -167,7 +167,7 @@ static PyObject *samr_enum_dom_groups(PyObject *self, PyObject *args,
args, kw, "", kwlist))
return NULL;
- if (!(mem_ctx = talloc_init())) {
+ if (!(mem_ctx = talloc_init("samr_enum_dom_groups"))) {
PyErr_SetString(samr_error, "unable to init talloc context");
return NULL;
}
@@ -399,7 +399,7 @@ static PyObject *samr_connect(PyObject *self, PyObject *args, PyObject *kw)
return NULL;
}
- if (!(mem_ctx = talloc_init())) {
+ if (!(mem_ctx = talloc_init("samr_connect"))) {
PyErr_SetString(samr_ntstatus,
"unable to init talloc context\n");
goto done;