From 5ed912bebc5b59e659f6155884b99f553d8302e1 Mon Sep 17 00:00:00 2001 From: axel Date: Sun, 12 Nov 2006 22:17:25 +1000 Subject: [PATCH] The incorrect pointer is used for the autounload callback, causing possible crashes darcs-hash:20061112121725-ac50b-1f49f3f37c20d3fe2d4a12617e9dda139d2ad5ec.gz --- parse_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse_util.c b/parse_util.c index a3eb49d27..934b3dc80 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 ); }