diff options
author | Peng Wu <alexepico@gmail.com> | 2011-12-02 17:38:46 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-12-02 17:38:46 +0800 |
commit | 1b975d9f86c1ccbace5e2a06080325fe5f42879b (patch) | |
tree | c17076d97c65ee6fcc1d52feaa484e906281da3b /src/storage/pinyin_large_table.cpp | |
parent | 23d9cb43b3880a8ce5daf896d7b1df931e3cdbba (diff) | |
download | libpinyin-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.cpp | 4 |
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; } |