summaryrefslogtreecommitdiffstats
path: root/src/storage/pinyin_parser2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/pinyin_parser2.cpp')
-rw-r--r--src/storage/pinyin_parser2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp
index dc2421e..079af34 100644
--- a/src/storage/pinyin_parser2.cpp
+++ b/src/storage/pinyin_parser2.cpp
@@ -225,6 +225,7 @@ static inline bool search_chewing_index(pinyin_option_t options,
/* Full Pinyin Parser */
FullPinyinParser2::FullPinyinParser2 (){
+ m_pinyin_index = NULL; m_pinyin_index_len = 0;
m_parse_steps = g_array_new(TRUE, FALSE, sizeof(parse_value_t));
set_scheme(PINYIN_DEFAULT);