diff options
-rw-r--r-- | source3/modules/vfs_aio_fork.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c index 21f63d0b87..28428f2e49 100644 --- a/source3/modules/vfs_aio_fork.c +++ b/source3/modules/vfs_aio_fork.c @@ -56,6 +56,8 @@ static struct mmap_area *mmap_area_init(TALLOC_CTX *mem_ctx, size_t size) goto fail; } + close(fd); + result->size = size; talloc_set_destructor(result, mmap_area_destructor); |