1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 14:26:39 +02:00

Fix 14 memory leaks (in core, gui, irc, jabber, logger, script plugins)

This commit is contained in:
Sebastien Helleu
2009-02-04 14:12:46 +01:00
parent aeb11f7e05
commit 7cc562be45
11 changed files with 33 additions and 12 deletions
+2
View File
@@ -1248,6 +1248,8 @@ gui_buffer_close (struct t_gui_buffer *buffer)
gui_nicklist_remove_group (buffer, buffer->nicklist_root);
if (buffer->highlight_words)
free (buffer->highlight_words);
if (buffer->highlight_tags)
free (buffer->highlight_tags);
if (buffer->highlight_tags_array)
string_free_exploded (buffer->highlight_tags_array);
gui_keyboard_free_all (&buffer->keys, &buffer->last_key);