r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
[nivanova/samba-autobuild/.git] / source4 / ntvfs / nbench / vfs_nbench.c
index 560f4a646b53ac649d4601bfb43853e49bc82974..a1f03da367f375dbd7938090718c30a5fdb1f57c 100644 (file)
@@ -97,7 +97,7 @@ static NTSTATUS nbench_connect(struct ntvfs_module_context *ntvfs,
        NTSTATUS status;
        char *logname = NULL;
 
-       nprivates = talloc_p(req->tcon, struct nbench_private);
+       nprivates = talloc(req->tcon, struct nbench_private);
        if (!nprivates) {
                return NT_STATUS_NO_MEMORY;
        }