summaryrefslogtreecommitdiff
path: root/source4/ntvfs/nbench
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-01-25 12:19:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:28 -0500
commit5497dfe64ad810a2a3fb22da6869d311894bfed0 (patch)
treec5169e11cb732756fa39307c05a9dfc5a2374ff5 /source4/ntvfs/nbench
parent60954d80e1afd0527a5fa426bf02e9359ed19890 (diff)
downloadsamba-5497dfe64ad810a2a3fb22da6869d311894bfed0.tar.gz
samba-5497dfe64ad810a2a3fb22da6869d311894bfed0.tar.bz2
samba-5497dfe64ad810a2a3fb22da6869d311894bfed0.zip
r13129: fix the memory hierachie
metze (This used to be commit 19205b8d89d3d7e99a65938f59412e0c4e8ac5fe)
Diffstat (limited to 'source4/ntvfs/nbench')
-rw-r--r--source4/ntvfs/nbench/vfs_nbench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/nbench/vfs_nbench.c b/source4/ntvfs/nbench/vfs_nbench.c
index 3c95621694..e88adbafcc 100644
--- a/source4/ntvfs/nbench/vfs_nbench.c
+++ b/source4/ntvfs/nbench/vfs_nbench.c
@@ -99,7 +99,7 @@ static NTSTATUS nbench_connect(struct ntvfs_module_context *ntvfs,
NTSTATUS status;
char *logname = NULL;
- nprivates = talloc(req->tcon, struct nbench_private);
+ nprivates = talloc(ntvfs, struct nbench_private);
if (!nprivates) {
return NT_STATUS_NO_MEMORY;
}