mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 01:51:14 -03:00
The incorrect pointer is used for the autounload callback, causing possible crashes
darcs-hash:20061112121725-ac50b-1f49f3f37c20d3fe2d4a12617e9dda139d2ad5ec.gz
This commit is contained in:
@@ -592,7 +592,7 @@ int parse_util_unload( const wchar_t *cmd,
|
||||
{
|
||||
if( on_load )
|
||||
{
|
||||
on_load( (wchar_t *)val );
|
||||
on_load( cmd );
|
||||
}
|
||||
free( val );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user