mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-21 17:21:14 -03:00
Fix for properly removing universal variable.
This commit is contained in:
@@ -522,6 +522,7 @@ void env_universal_common_remove( const wcstring &name )
|
||||
if (result != env_universal_var.end())
|
||||
{
|
||||
var_uni_entry_t* v = result->second;
|
||||
env_universal_var.erase(result);
|
||||
delete v;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user