conhost: Free screen buffer data in destroy_screen_buffer.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
cc6c5f7823
commit
67324a4284
|
@ -223,6 +223,7 @@ static void destroy_screen_buffer( struct screen_buffer *screen_buffer )
|
|||
if (screen_buffer->console->active == screen_buffer)
|
||||
screen_buffer->console->active = NULL;
|
||||
wine_rb_remove( &screen_buffer_map, &screen_buffer->entry );
|
||||
free( screen_buffer->data );
|
||||
free( screen_buffer );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue