s4-pyglue: setup talloc logging in python modules
authorAndrew Tridgell <tridge@samba.org>
Fri, 2 Apr 2010 07:21:14 +0000 (18:21 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 2 Apr 2010 07:52:29 +0000 (18:52 +1100)
source4/scripting/python/pyglue.c

index 10712792656ad82ed06805d02606de7f332dc3c6..8fe764c808088ba49f2cc694a224f2e27ae265c0 100644 (file)
@@ -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)