summaryrefslogtreecommitdiff
path: root/source4/torture/raw
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/raw')
-rw-r--r--source4/torture/raw/search.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/torture/raw/search.c b/source4/torture/raw/search.c
index 3eb1d2d8e1..d0873e2ef4 100644
--- a/source4/torture/raw/search.c
+++ b/source4/torture/raw/search.c
@@ -681,6 +681,7 @@ static BOOL test_many_files(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
}
free(fname);
}
+ talloc_free(result.list);
}
done:
@@ -898,6 +899,8 @@ static BOOL test_sorted(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
}
}
+ talloc_free(result.list);
+
done:
smb_raw_exit(cli->session);
smbcli_deltree(cli->tree, BASEDIR);