mirror of
https://github.com/weechat/weechat.git
synced 2026-07-04 00:33:13 +02:00
Secured code to prevent buffer overflows and memory leaks
This commit is contained in:
@@ -291,7 +291,7 @@ gui_window_free (t_gui_window *window)
|
||||
|
||||
/* always at least one window */
|
||||
if (!gui_windows && create_new)
|
||||
gui_window_new (NULL, NULL, 1);
|
||||
(void) gui_window_new (NULL, NULL, 1);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user