The incorrect pointer is used for the autounload callback, causing possible crashes

darcs-hash:20061112121725-ac50b-1f49f3f37c20d3fe2d4a12617e9dda139d2ad5ec.gz
This commit is contained in:
axel 2006-11-12 22:17:25 +10:00
parent ec43090c16
commit 5ed912bebc

View File

@ -592,7 +592,7 @@ int parse_util_unload( const wchar_t *cmd,
{ {
if( on_load ) if( on_load )
{ {
on_load( (wchar_t *)val ); on_load( cmd );
} }
free( val ); free( val );
} }