git.samba.org
/
tridge
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87cf808
)
s4:torture:smb2: talloc_free the right tree structure in secondary_tcon()
author
Michael Adam
<obnox@samba.org>
Thu, 2 Feb 2012 12:38:08 +0000
(13:38 +0100)
committer
Michael Adam
<obnox@samba.org>
Fri, 3 Feb 2012 10:10:30 +0000
(11:10 +0100)
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
source4/torture/smb2/notify.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/notify.c
b/source4/torture/smb2/notify.c
index b68ad55e967e4bcfc96af851bdf2f400e7e26aa1..070af0de9e3695fa195b4faf287215e17c733934 100644
(file)
--- a/
source4/torture/smb2/notify.c
+++ b/
source4/torture/smb2/notify.c
@@
-1814,7
+1814,7
@@
static struct smb2_tree *secondary_tcon(struct smb2_tree *tree,
tcon.smb2.in.path = talloc_asprintf(tctx, "\\\\%s\\%s", host, share);
status = smb2_tree_connect(tree, &(tcon.smb2));
if (!NT_STATUS_IS_OK(status)) {
- talloc_free(tree);
+ talloc_free(tree
1
);
torture_comment(tctx,"Failed to create secondary tree\n");
return NULL;
}