diff options
Diffstat (limited to 'source4/ntvfs/reference')
-rw-r--r-- | source4/ntvfs/reference/ref_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/reference/ref_util.c b/source4/ntvfs/reference/ref_util.c index e221086950..8be80183c5 100644 --- a/source4/ntvfs/reference/ref_util.c +++ b/source4/ntvfs/reference/ref_util.c @@ -104,7 +104,7 @@ struct svfs_dir *svfs_list(TALLOC_CTX *mem_ctx, struct smbsrv_request *req, cons 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; |