diff options
author | Jeremy Allison <jra@samba.org> | 2002-12-23 23:53:56 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-12-23 23:53:56 +0000 |
commit | 0fdf60f0512f1a4443e315d764d59636c2075fe7 (patch) | |
tree | 4fa8b751ad63a6ffaf2046081edf63d3963df420 /source3/python/py_spoolss_drivers.c | |
parent | 54af5d0f252739240b933b61dffda445d1ca1337 (diff) | |
download | samba-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_spoolss_drivers.c')
-rw-r--r-- | source3/python/py_spoolss_drivers.c | 6 |
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; |