diff options
Diffstat (limited to 'source4/ntvfs/simple/svfs_util.c')
-rw-r--r-- | source4/ntvfs/simple/svfs_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/simple/svfs_util.c b/source4/ntvfs/simple/svfs_util.c index 7da9667e3c..1949ecb235 100644 --- a/source4/ntvfs/simple/svfs_util.c +++ b/source4/ntvfs/simple/svfs_util.c @@ -105,7 +105,7 @@ struct svfs_dir *svfs_list_unix(TALLOC_CTX *mem_ctx, struct smbsrv_request *req, if (dir->count >= allocated) { allocated = (allocated + 100) * 1.2; - dir->files = talloc_realloc(mem_ctx, dir->files, allocated * sizeof(dir->files[0])); + dir->files = talloc_realloc(dir->files, allocated * sizeof(dir->files[0])); if (!dir->files) { closedir(odir); return NULL; |