git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bf66d9
)
s4:torture: avoid free of uninitialized variable in error case.
author
Michael Adam
<obnox@samba.org>
Mon, 23 Mar 2015 00:52:32 +0000
(
01:52
+0100)
committer
Michael Adam
<obnox@samba.org>
Mon, 23 Mar 2015 15:04:19 +0000
(16:04 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source4/torture/smb2/session.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/session.c
b/source4/torture/smb2/session.c
index 2c06516615e4b8ef60354cd2dd9a320a379bc2c6..d60edafee6fc0f0b888c28a62d9808a5db0e899f 100644
(file)
--- a/
source4/torture/smb2/session.c
+++ b/
source4/torture/smb2/session.c
@@
-71,7
+71,7
@@
bool test_session_reconnect1(struct torture_context *tctx, struct smb2_tree *tre
struct smb2_create io1, io2;
uint64_t previous_session_id;
bool ret = true;
- struct smb2_tree *tree2;
+ struct smb2_tree *tree2
= NULL
;
union smb_fileinfo qfinfo;
/* Add some random component to the file name. */