mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 19:03:38 +08:00
The incorrect pointer is used for the autounload callback, causing possible crashes
darcs-hash:20061112121725-ac50b-1f49f3f37c20d3fe2d4a12617e9dda139d2ad5ec.gz
This commit is contained in:
parent
ec43090c16
commit
5ed912bebc
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user