Jacek Caban : conhost: Free screen buffer data in destroy_screen_buffer.

Alexandre Julliard julliard at winehq.org
Tue Sep 15 15:40:13 CDT 2020


Module: wine
Branch: master
Commit: 67324a4284bbbea67510365a835dbc0a45409533
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=67324a4284bbbea67510365a835dbc0a45409533

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Sep 15 17:08:23 2020 +0200

conhost: Free screen buffer data in destroy_screen_buffer.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/conhost/conhost.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/programs/conhost/conhost.c b/programs/conhost/conhost.c
index 47856a943c..422a966eb2 100644
--- a/programs/conhost/conhost.c
+++ b/programs/conhost/conhost.c
@@ -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 );
 }
 




More information about the wine-cvs mailing list