summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-09-29 15:19:53 +0800
committerPeng Wu <alexepico@gmail.com>2012-09-29 15:19:53 +0800
commit7d8160eb97be7375a7586fa2ffdcc08cb0ffa4d1 (patch)
tree49359381f04a8eca12f90ecf4905b5c7fe3f4a69
parent7332b902fcd943e2302056cd4d7fc12ec559aa60 (diff)
downloadlibpinyin-7d8160eb97be7375a7586fa2ffdcc08cb0ffa4d1.zip
libpinyin-7d8160eb97be7375a7586fa2ffdcc08cb0ffa4d1.tar.gz
libpinyin-7d8160eb97be7375a7586fa2ffdcc08cb0ffa4d1.tar.xz
minor fixes again
-rw-r--r--src/pinyin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pinyin.cpp b/src/pinyin.cpp
index 009242d..cdb7563 100644
--- a/src/pinyin.cpp
+++ b/src/pinyin.cpp
@@ -1054,6 +1054,7 @@ static bool _remove_duplicated_items_by_phrase_string
if (ZOMBIE_CANDIDATE == candidate->m_candidate_type) {
g_free(candidate->m_phrase_string);
+ g_free(candidate->m_new_pinyins);
g_array_remove_index(candidates, i);
i--;
}