summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-07-20 19:37:19 +0800
committerPeng Wu <alexepico@gmail.com>2011-07-20 19:37:19 +0800
commit9e0f9cf94da0a656cc810fb5d96ec4774152871d (patch)
tree692fa52953d9bb88697ff1bf17635799ef1ec9dc /utils
parent71d760a003d296413ab87aea4235dc96c9e68e69 (diff)
downloadlibpinyin-9e0f9cf94da0a656cc810fb5d96ec4774152871d.tar.gz
libpinyin-9e0f9cf94da0a656cc810fb5d96ec4774152871d.tar.xz
libpinyin-9e0f9cf94da0a656cc810fb5d96ec4774152871d.zip
refine test phrase lookup
Diffstat (limited to 'utils')
-rw-r--r--utils/segment/ngseg.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/segment/ngseg.cpp b/utils/segment/ngseg.cpp
index 623ca10..ff11681 100644
--- a/utils/segment/ngseg.cpp
+++ b/utils/segment/ngseg.cpp
@@ -211,6 +211,7 @@ int main(int argc, char * argv[]){
}
delete g_phrase_lookup;
+ g_phrase_lookup = NULL;
/* print enter at file tail */
printf("\n");
g_array_free(current_utf16, TRUE);