From 12dce74b80aa0c8522920f08a1bb4f12710dadf2 Mon Sep 17 00:00:00 2001 From: Garming Sam Date: Mon, 18 Jul 2016 16:58:04 +1200 Subject: [PATCH] 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 --- python/samba/join.py | 3 --- 1 file changed, 3 deletions(-) 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): -- 2.47.3