diff options
author | Jeremy Allison <jra@samba.org> | 2002-12-23 23:54:10 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-12-23 23:54:10 +0000 |
commit | 98ac4503aca8f5a5a4268d89791e9a4491ce8645 (patch) | |
tree | b2924c73e39c05a8c3bf234a677f43ef821dd4cd /source3/python/py_spoolss_drivers.c | |
parent | fa997c54eb266b6203945827b332600cd58f1379 (diff) | |
download | samba-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.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; |