diff options
Diffstat (limited to 'src/storage/pinyin_parser2.cpp')
-rw-r--r-- | src/storage/pinyin_parser2.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp index d92ceaa..a59bbb5 100644 --- a/src/storage/pinyin_parser2.cpp +++ b/src/storage/pinyin_parser2.cpp @@ -462,6 +462,7 @@ bool DoublePinyinParser2::parse_one_key (guint32 options, ChewingKey & key, g_free(pinyin); return true; } + g_free(pinyin); /* second yunmu */ yun = m_yunmu_table[charid].m_yunmus[1]; @@ -472,8 +473,8 @@ bool DoublePinyinParser2::parse_one_key (guint32 options, ChewingKey & key, g_free(pinyin); return true; } - g_free(pinyin); + } #undef IS_KEY |