diff options
Diffstat (limited to 'source4/ntvfs/posix/pvfs_rename.c')
-rw-r--r-- | source4/ntvfs/posix/pvfs_rename.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_rename.c b/source4/ntvfs/posix/pvfs_rename.c index f8d0ba1c27..8e057f214b 100644 --- a/source4/ntvfs/posix/pvfs_rename.c +++ b/source4/ntvfs/posix/pvfs_rename.c @@ -128,7 +128,7 @@ static NTSTATUS pvfs_rename_one(struct pvfs_state *pvfs, uint16_t attrib) { struct pvfs_filename *name1, *name2; - TALLOC_CTX *mem_ctx = talloc(req, 0); + TALLOC_CTX *mem_ctx = talloc_new(req); NTSTATUS status; /* resolve the wildcard pattern for this name */ |