summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-02 18:21:14 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-02 18:52:29 +1100
commit2c097b51cb62a0b3cc159faea62d831d897f6017 (patch)
treecf8cf72295f56729bbb727815c84d6d64a875be2 /source4
parenta8d213c151a73b007c62287ae068201c5a36532e (diff)
downloadsamba-2c097b51cb62a0b3cc159faea62d831d897f6017.tar.gz
samba-2c097b51cb62a0b3cc159faea62d831d897f6017.tar.bz2
samba-2c097b51cb62a0b3cc159faea62d831d897f6017.zip
s4-pyglue: setup talloc logging in python modules
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/pyglue.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/scripting/python/pyglue.c b/source4/scripting/python/pyglue.c
index 1071279265..8fe764c808 100644
--- a/source4/scripting/python/pyglue.c
+++ b/source4/scripting/python/pyglue.c
@@ -700,6 +700,8 @@ void initglue(void)
{
PyObject *m;
+ debug_setup_talloc_log();
+
m = Py_InitModule3("glue", py_misc_methods,
"Python bindings for miscellaneous Samba functions.");
if (m == NULL)