[Julius-cvs 542] CVS update: julius4/libjulius/src

Back to archive index

sumom****@users***** sumom****@users*****
2010年 4月 4日 (日) 00:06:15 JST


Index: julius4/libjulius/src/m_options.c
diff -u julius4/libjulius/src/m_options.c:1.18 julius4/libjulius/src/m_options.c:1.19
--- julius4/libjulius/src/m_options.c:1.18	Sat Apr  3 17:44:32 2010
+++ julius4/libjulius/src/m_options.c	Sun Apr  4 00:06:15 2010
@@ -18,7 +18,7 @@
  * @author Akinobu Lee
  * @date   Thu May 12 18:52:07 2005
  *
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
  * 
  */
 /*
@@ -1201,10 +1201,13 @@
     } else if (strmatch(argv[i],"-htkconf")) {
       if (!check_section(jconf, argv[i], JCONF_OPT_AM)) return FALSE; 
       GET_TMPARG;
+      tmparg = filepath(tmparg, cwd);
       if (htk_config_file_parse(tmparg, &(jconf->amnow->analysis.para_htk)) == FALSE) {
 	jlog("ERROR: m_options: failed to read %s\n", tmparg);
+	free(tmparg);
 	return FALSE;
       }
+      free(tmparg);
       continue;
     } else if (strmatch(argv[i], "-wlist")) {
       if (!check_section(jconf, argv[i], JCONF_OPT_LM)) return FALSE; 



Julius-cvs メーリングリストの案内
Back to archive index