From 58b5b6f4036c8d958a62b813b46e873c052a0327 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 5 Sep 2002 03:06:26 +0000 Subject: initial mem_ctx to NULL patch from metze (This used to be commit a4351a3923fd87e1c54119d997b673fcac34601b) --- source3/torture/samtest.c | 2 +- source3/torture/vfstest.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/torture/samtest.c b/source3/torture/samtest.c index 56b87dc257..490cc2cdf3 100644 --- a/source3/torture/samtest.c +++ b/source3/torture/samtest.c @@ -189,7 +189,7 @@ static NTSTATUS do_cmd(struct sam_context *sam, struct cmd_set *cmd_entry, char { char *p = cmd, **argv = NULL; NTSTATUS result = NT_STATUS_UNSUCCESSFUL; - TALLOC_CTX *mem_ctx; + TALLOC_CTX *mem_ctx = NULL; pstring buf; int argc = 0, i; diff --git a/source3/torture/vfstest.c b/source3/torture/vfstest.c index 9f8062a02e..c68d2b04d2 100644 --- a/source3/torture/vfstest.c +++ b/source3/torture/vfstest.c @@ -264,7 +264,7 @@ static NTSTATUS do_cmd(struct vfs_state *vfs, struct cmd_set *cmd_entry, char *c char *p = cmd, **argv = NULL; NTSTATUS result = NT_STATUS_UNSUCCESSFUL; pstring buf; - TALLOC_CTX *mem_ctx; + TALLOC_CTX *mem_ctx = NULL; int argc = 0, i; /* Count number of arguments first time through the loop then -- cgit