git.samba.org
/
gd
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4:torture: Do not free full_name before we printed it
[gd/samba-autobuild/.git]
/
source4
/
torture
/
vfs
/
fruit.c
diff --git
a/source4/torture/vfs/fruit.c
b/source4/torture/vfs/fruit.c
index 43f5167bd11f4abc5ea115fdb59033c9ad015710..45c7aaac7a352760d169a94362cdec7e23edba88 100644
(file)
--- a/
source4/torture/vfs/fruit.c
+++ b/
source4/torture/vfs/fruit.c
@@
-1163,11
+1163,11
@@
static bool check_stream(struct smb2_tree *tree,
status = smb2_create(tree, mem_ctx, &create);
if (!NT_STATUS_IS_OK(status)) {
- TALLOC_FREE(full_name);
if (value == NULL) {
return true;
}
torture_comment(tctx, "Unable to open stream %s\n", full_name);
+ TALLOC_FREE(full_name);
return false;
}