mirror of
https://github.com/weechat/weechat.git
synced 2026-07-07 10:13:12 +02:00
Fix 14 memory leaks (in core, gui, irc, jabber, logger, script plugins)
This commit is contained in:
@@ -423,6 +423,12 @@ gui_window_free (struct t_gui_window *window)
|
||||
gui_bar_window_free (window->bar_windows, window);
|
||||
}
|
||||
|
||||
/* free other data */
|
||||
if (window->layout_plugin_name)
|
||||
free (window->layout_plugin_name);
|
||||
if (window->layout_buffer_name)
|
||||
free (window->layout_buffer_name);
|
||||
|
||||
/* remove window from windows list */
|
||||
if (window->prev_window)
|
||||
(window->prev_window)->next_window = window->next_window;
|
||||
|
||||
Reference in New Issue
Block a user