mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-08 02:31:18 -03:00
Squash a leak in LRU caches
This commit is contained in:
@@ -624,7 +624,9 @@ void history_t::save_internal()
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Make sure we clear all nodes, since this doesn't happen automatically */
|
||||
lru.evict_all_nodes();
|
||||
|
||||
if( fclose( out ) || !ok )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user