summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-09-24 18:45:52 +0200
committerVolker Lendecke <vl@samba.org>2010-10-08 21:11:45 +0200
commitb5ed09c3afe2c9122db6eec6dd994588d7d6a2c1 (patch)
tree1830e4cfa1e00d8bb876b921bd36c616c62d8d28 /source3/winbindd
parent584ac76a4f959ee8fa491407e3039a34bc5c627a (diff)
downloadsamba-b5ed09c3afe2c9122db6eec6dd994588d7d6a2c1.tar.gz
samba-b5ed09c3afe2c9122db6eec6dd994588d7d6a2c1.tar.bz2
samba-b5ed09c3afe2c9122db6eec6dd994588d7d6a2c1.zip
Move talloc_enable_null_tracking() to the s3 daemons
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index 0c9cdcf52e..d2344fd696 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -1124,9 +1124,15 @@ int main(int argc, char **argv, char **envp)
};
poptContext pc;
int opt;
- TALLOC_CTX *frame = talloc_stackframe();
+ TALLOC_CTX *frame;
NTSTATUS status;
+ /*
+ * Do this before any other talloc operation
+ */
+ talloc_enable_null_tracking();
+ frame = talloc_stackframe();
+
/* glibc (?) likes to print "User defined signal 1" and exit if a
SIGUSR[12] is received before a handler is installed */