Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Langford <jl@jl-desktop.(none)>2010-12-04 01:52:25 +0300
committerJohn Langford <jl@jl-desktop.(none)>2010-12-04 01:52:25 +0300
commit1c5802623b23977d3cfab81d63a30f08b7ce5255 (patch)
tree9cc380322234afadd65d7a644d84f10e600dc5d5 /parser.cc
parent70eabf27c5fe3998b8f040255b0cecf879099d77 (diff)
initial minibatch
Diffstat (limited to 'parser.cc')
-rw-r--r--parser.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/parser.cc b/parser.cc
index ae0321cb..c97c63a4 100644
--- a/parser.cc
+++ b/parser.cc
@@ -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++)