From: Garming Sam Date: Mon, 18 Jul 2016 04:58:04 +0000 (+1200) Subject: join.py: Remove talloc enable_null_tracking X-Git-Tag: tdb-1.3.10~339 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=12dce74b80aa0c8522920f08a1bb4f12710dadf2;p=thirdparty%2Fsamba.git join.py: Remove talloc enable_null_tracking The removal of enable_null_tracking is required because we will no longer importing join.py in every single samba-tool invocation. Without removing this line, memory would be hanging from both the actual NULL context and the talloc_null_context (causing a segfault at system_exit). Signed-off-by: Garming Sam Reviewed-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/join.py b/python/samba/join.py index 3532a7f1e8f..10cc5a38b10 100644 --- a/python/samba/join.py +++ b/python/samba/join.py @@ -39,9 +39,6 @@ import talloc import random import time -# this makes debugging easier -talloc.enable_null_tracking() - class DCJoinException(Exception): def __init__(self, msg):