mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
s4:torture: avoid free of uninitialized variables in error-case.
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
parent
59cce7cbeb
commit
b92d51f98c
@ -428,8 +428,8 @@ static NTSTATUS raw_smbcli_ntcreate(struct smbcli_tree *tree, const char *fname,
|
||||
|
||||
bool torture_samba3_badpath(struct torture_context *torture)
|
||||
{
|
||||
struct smbcli_state *cli_nt;
|
||||
struct smbcli_state *cli_dos;
|
||||
struct smbcli_state *cli_nt = NULL;
|
||||
struct smbcli_state *cli_dos = NULL;
|
||||
const char *fname = "test.txt";
|
||||
const char *fname1 = "test1.txt";
|
||||
const char *dirname = "testdir";
|
||||
|
Loading…
x
Reference in New Issue
Block a user