mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-29 00:21:14 -03:00
Fix major memory leak in autoloader introduced by recent autounloader patch
darcs-hash:20061012133012-ac50b-d03de17d9df4d41db075b24c2f7e48ad8c0f6417.gz
This commit is contained in:
@@ -639,6 +639,7 @@ static void parse_util_autounload( const wchar_t *path_var_name,
|
|||||||
oldest_item = item;
|
oldest_item = item;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
al_destroy( &key );
|
||||||
|
|
||||||
if( oldest_item && loaded_count > AUTOLOAD_MAX)
|
if( oldest_item && loaded_count > AUTOLOAD_MAX)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user