diff options
-rw-r--r-- | tests/test_pinyin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_pinyin.cpp b/tests/test_pinyin.cpp index 82f0c6c..6978d18 100644 --- a/tests/test_pinyin.cpp +++ b/tests/test_pinyin.cpp @@ -87,6 +87,7 @@ int main(int argc, char * argv[]){ pinyin_save(context); } + pinyin_free_candidates(instance, candidates); g_array_free(candidates, TRUE); pinyin_free_instance(instance); pinyin_fini(context); |