summaryrefslogtreecommitdiff
path: root/source3/python/py_spoolss_drivers.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_spoolss_drivers.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_spoolss_drivers.c')
-rw-r--r--source3/python/py_spoolss_drivers.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/python/py_spoolss_drivers.c b/source3/python/py_spoolss_drivers.c
index 6daa32d0f4..a072ac0d5c 100644
--- a/source3/python/py_spoolss_drivers.c
+++ b/source3/python/py_spoolss_drivers.c
@@ -63,7 +63,7 @@ PyObject *spoolss_enumprinterdrivers(PyObject *self, PyObject *args,
goto done;
}
- if (!(mem_ctx = talloc_init())) {
+ if (!(mem_ctx = talloc_init("spoolss_enumprinterdrivers"))) {
PyErr_SetString(
spoolss_error, "unable to init talloc context\n");
goto done;
@@ -267,7 +267,7 @@ PyObject *spoolss_getprinterdriverdir(PyObject *self, PyObject *args,
goto done;
}
- if (!(mem_ctx = talloc_init())) {
+ if (!(mem_ctx = talloc_init("spoolss_getprinterdriverdir"))) {
PyErr_SetString(
spoolss_error, "unable to init talloc context\n");
goto done;
@@ -335,7 +335,7 @@ PyObject *spoolss_addprinterdriver(PyObject *self, PyObject *args,
return NULL;
}
- if (!(mem_ctx = talloc_init())) {
+ if (!(mem_ctx = talloc_init("spoolss_addprinterdriver"))) {
PyErr_SetString(
spoolss_error, "unable to init talloc context\n");
return NULL;