Squash a leak in LRU caches

This commit is contained in:
ridiculousfish
2012-02-17 14:54:58 -08:00
parent 3b56c58f00
commit 51da4856e2
4 changed files with 14 additions and 7 deletions

View File

@@ -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 )
{