summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pinyin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pinyin.cpp b/src/pinyin.cpp
index a8939f0..49cc016 100644
--- a/src/pinyin.cpp
+++ b/src/pinyin.cpp
@@ -253,6 +253,7 @@ bool pinyin_unload_phrase_library(pinyin_context_t * context,
context->m_phrase_index->unload(index);
+ g_free(phrasefilename);
phrasefilename = NULL;
return true;
}