diff --git a/lib/libfs/context.c b/lib/libfs/context.c index dc0d740..57e8d27 100644 --- a/lib/libfs/context.c +++ b/lib/libfs/context.c @@ -75,6 +75,7 @@ struct fs_context *fs_context_create(struct fs_allocator *alloc) TEMP_OBJECT_SIZE, VM_PROT_READ | VM_PROT_WRITE | VM_PROT_USER, &temp_buffer); + kern_handle_close(address_space); if (status != KERN_OK) { kern_handle_close(ctx->ctx_temp_object); kern_handle_close(ctx->ctx_vm_controller);