diff options
author | John Langford <jl@jl-desktop.(none)> | 2010-12-04 01:52:25 +0300 |
---|---|---|
committer | John Langford <jl@jl-desktop.(none)> | 2010-12-04 01:52:25 +0300 |
commit | 1c5802623b23977d3cfab81d63a30f08b7ce5255 (patch) | |
tree | 9cc380322234afadd65d7a644d84f10e600dc5d5 /parser.cc | |
parent | 70eabf27c5fe3998b8f040255b0cecf879099d77 (diff) |
initial minibatch
Diffstat (limited to 'parser.cc')
-rw-r--r-- | parser.cc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -713,6 +713,9 @@ void end_parser(parser* pf) free(examples[i].tag.begin); examples[i].tag.end_array = examples[i].tag.begin; } + + if (global.lda > 0) + free(examples[i].topic_predictions.begin); free(examples[i].ld); for (size_t j = 0; j < 256; j++) |