summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-06-28 11:24:54 +0800
committerPeng Wu <alexepico@gmail.com>2011-06-28 11:24:54 +0800
commit9e3c4ad779e2f9fd9f8f8530326d7f8d55bff12a (patch)
treeb7ce0f025018da03981174e3c7c41b65817ea5e1 /utils
parent55ddfe743b3f983bbae64176f379883d9824dfee (diff)
downloadlibpinyin-9e3c4ad779e2f9fd9f8f8530326d7f8d55bff12a.tar.gz
libpinyin-9e3c4ad779e2f9fd9f8f8530326d7f8d55bff12a.tar.xz
libpinyin-9e3c4ad779e2f9fd9f8f8530326d7f8d55bff12a.zip
fixes a typo in prune tool
Diffstat (limited to 'utils')
-rw-r--r--utils/training/prune_k_mixture_model.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/training/prune_k_mixture_model.cpp b/utils/training/prune_k_mixture_model.cpp
index 8c7686d..8ae6992 100644
--- a/utils/training/prune_k_mixture_model.cpp
+++ b/utils/training/prune_k_mixture_model.cpp
@@ -153,5 +153,7 @@ int main(int argc, char * argv[]){
assert(bigram.remove(*token));
}
+ g_array_free(items, TRUE);
+
return 0;
}