mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
initial mem_ctx to NULL
patch from metze
This commit is contained in:
parent
561204905b
commit
a4351a3923
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user