server: Release the l_intl fd once the mapping is created.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50204
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2020-11-28 14:59:19 +01:00
parent cbca9f847f
commit 9494fa6986
1 changed files with 1 additions and 0 deletions

View File

@ -444,6 +444,7 @@ void init_directories( struct fd *intl_fd )
/* mappings */
release_object( create_fd_mapping( &dir_nls->obj, &intl_str, intl_fd, OBJ_PERMANENT, NULL ));
release_object( create_user_data_mapping( &dir_kernel->obj, &user_data_str, OBJ_PERMANENT, NULL ));
release_object( intl_fd );
release_object( named_pipe_device );
release_object( mailslot_device );