mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
fix memory leak when updating single line
This commit is contained in:
parent
ae8ec99d5c
commit
67aa2baf62
1 changed files with 1 additions and 1 deletions
|
|
@ -419,7 +419,7 @@ static void view_remove_cache(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line,
|
|||
|
||||
cache = g_hash_table_lookup(view->cache->line_cache, line);
|
||||
if (cache != NULL) {
|
||||
g_free(cache);
|
||||
line_cache_destroy(NULL, cache);
|
||||
g_hash_table_remove(view->cache->line_cache, line);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue