summaryrefslogtreecommitdiff
path: root/libs/fst/fstinfofile.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/fst/fstinfofile.c')
-rw-r--r--libs/fst/fstinfofile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/fst/fstinfofile.c b/libs/fst/fstinfofile.c
index 4b5e95c2d1..acfefbe324 100644
--- a/libs/fst/fstinfofile.c
+++ b/libs/fst/fstinfofile.c
@@ -248,14 +248,14 @@ fst_get_info (char* dllpath)
if( !(h = fst_load( dllpath )) ) return NULL;
if( !(fst = fst_instantiate( h, simple_master_callback, NULL )) ) {
- fst_unload( h );
+ fst_unload( &h );
fst_error( "instantiate failed\n" );
return NULL;
}
fstpath = fst_dllpath_to_infopath( dllpath );
if( !fstpath ) {
fst_close( fst );
- fst_unload( h );
+ fst_unload( &h );
fst_error( "get fst filename failed\n" );
return NULL;
}
@@ -264,7 +264,7 @@ fst_get_info (char* dllpath)
free( fstpath );
fst_close( fst );
- fst_unload( h );
+ fst_unload( &h );
return info;
}
}