diff options
author | axel <axel@liljencrantz.se> | 2006-11-12 22:17:25 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-11-12 22:17:25 +1000 |
commit | 5ed912bebc5b59e659f6155884b99f553d8302e1 (patch) | |
tree | 05700d8e0a4396a88e6efc3ca39dbdd9b3aeaa6f /parse_util.c | |
parent | ec43090c16d72bd481bff016d483e8f231abccef (diff) |
The incorrect pointer is used for the autounload callback, causing possible crashes
darcs-hash:20061112121725-ac50b-1f49f3f37c20d3fe2d4a12617e9dda139d2ad5ec.gz
Diffstat (limited to 'parse_util.c')
-rw-r--r-- | parse_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parse_util.c b/parse_util.c index a3eb49d2..934b3dc8 100644 --- a/parse_util.c +++ b/parse_util.c @@ -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 ); } |