git.samba.org
/
amitay
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[s4] possible memleak in torture vfs-fruit
[amitay/samba.git]
/
source4
/
torture
/
vfs
/
fruit.c
diff --git
a/source4/torture/vfs/fruit.c
b/source4/torture/vfs/fruit.c
index 94cbf27767793b3032ff6b6fa084ac172b397656..01d2890e17d5169c2167933de2fc77969bffe6b8 100644
(file)
--- a/
source4/torture/vfs/fruit.c
+++ b/
source4/torture/vfs/fruit.c
@@
-1824,6
+1824,7
@@
static bool check_stream(struct smb2_tree *tree,
status = smb2_create(tree, mem_ctx, &create);
if (!NT_STATUS_IS_OK(status)) {
if (value == NULL) {
+ TALLOC_FREE(full_name);
return true;
}
torture_comment(tctx, "Unable to open stream %s\n", full_name);