mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
fix minor textbuffer leak, Bug 288 by Toby
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3897 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
a65e346f83
commit
e24bcb43df
@ -1056,6 +1056,8 @@ static void view_bookmarks_check(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line)
|
||||
if (new_line != NULL) {
|
||||
g_hash_table_insert(view->bookmarks,
|
||||
tmp->data, new_line);
|
||||
} else {
|
||||
g_free(tmp->data);
|
||||
}
|
||||
}
|
||||
g_slist_free(rec.remove_list);
|
||||
|
Loading…
Reference in New Issue
Block a user