summaryrefslogtreecommitdiff
path: root/source3/python/py_samr.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_samr.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_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;