diff options
author | Peng Wu <alexepico@gmail.com> | 2013-04-15 13:45:30 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-04-15 13:48:10 +0800 |
commit | fc4779bafe885a7b43dc82cba3543b8449a8d5ff (patch) | |
tree | cc0ce47b5e3a83497147b101fd7309e17a6bffdf /utils/segment/ngseg.cpp | |
parent | 196601b5a3b8a2db0c520b03e6cde66904476bb4 (diff) | |
download | libpinyin-fc4779bafe885a7b43dc82cba3543b8449a8d5ff.tar.gz libpinyin-fc4779bafe885a7b43dc82cba3543b8449a8d5ff.tar.xz libpinyin-fc4779bafe885a7b43dc82cba3543b8449a8d5ff.zip |
update spseg.cpp
Diffstat (limited to 'utils/segment/ngseg.cpp')
-rw-r--r-- | utils/segment/ngseg.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/segment/ngseg.cpp b/utils/segment/ngseg.cpp index 5fb2a42..fee7449 100644 --- a/utils/segment/ngseg.cpp +++ b/utils/segment/ngseg.cpp @@ -246,6 +246,8 @@ int main(int argc, char * argv[]){ /* print extra enter */ if ( gen_extra_enter ) fprintf(output, "%d \n", null_token); + + g_free(sentence); } phrase_index.destroy_tokens(tokens); |