summaryrefslogtreecommitdiffstats
path: root/src/storage/pinyin_large_table.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-12-02 17:38:46 +0800
committerPeng Wu <alexepico@gmail.com>2011-12-02 17:38:46 +0800
commit1b975d9f86c1ccbace5e2a06080325fe5f42879b (patch)
treec17076d97c65ee6fcc1d52feaa484e906281da3b /src/storage/pinyin_large_table.cpp
parent23d9cb43b3880a8ce5daf896d7b1df931e3cdbba (diff)
downloadlibpinyin-1b975d9f86c1ccbace5e2a06080325fe5f42879b.tar.gz
libpinyin-1b975d9f86c1ccbace5e2a06080325fe5f42879b.tar.xz
libpinyin-1b975d9f86c1ccbace5e2a06080325fe5f42879b.zip
write load text method for chewing large table
Diffstat (limited to 'src/storage/pinyin_large_table.cpp')
-rw-r--r--src/storage/pinyin_large_table.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/storage/pinyin_large_table.cpp b/src/storage/pinyin_large_table.cpp
index 952287a..6f3ccb8 100644
--- a/src/storage/pinyin_large_table.cpp
+++ b/src/storage/pinyin_large_table.cpp
@@ -557,8 +557,8 @@ bool PinyinLargeTable::load_text(FILE * infile){
add_index( keys->len, (PinyinKey *)keys->data, token);
- g_array_free(keys, true);
- g_array_free(poses, true);
+ g_array_free(keys, TRUE);
+ g_array_free(poses, TRUE);
}
return true;
}