mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-16 15:41:38 +08:00
Fix major memory leak in autoloader introduced by recent autounloader patch
darcs-hash:20061012133012-ac50b-d03de17d9df4d41db075b24c2f7e48ad8c0f6417.gz
This commit is contained in:
parent
b70b966f90
commit
5a8df6cc85
@ -639,6 +639,7 @@ static void parse_util_autounload( const wchar_t *path_var_name,
|
||||
oldest_item = item;
|
||||
}
|
||||
}
|
||||
al_destroy( &key );
|
||||
|
||||
if( oldest_item && loaded_count > AUTOLOAD_MAX)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user