File libchewing-fdleak.diff of Package libchewing

--- src/tools/sort_word.c
+++ src/tools/sort_word.c
@@ -117,6 +117,9 @@
 #endif
 	fprintf( configfile, "#define PHONE_NUM (%d)\n", phone_num );
 	fclose( indexfile );
+#ifdef USE_BINARY_DATA
+	fclose( indexfile2 );
+#endif
 	fclose( datafile );
 	fclose( configfile );
 }
openSUSE Build Service is sponsored by