summaryrefslogtreecommitdiff
path: root/scores.cc
diff options
context:
space:
mode:
Diffstat (limited to 'scores.cc')
-rw-r--r--scores.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/scores.cc b/scores.cc
index cb06b0074f..46685d6050 100644
--- a/scores.cc
+++ b/scores.cc
@@ -1,5 +1,6 @@
#include "main.hh"
#include "score.hh"
+#include "string.hh"
static svec<Score*> sv;
@@ -11,6 +12,8 @@ do_scores()
for (int i=0; i < sv.sz(); i++) {
sv[i]->process();
sv[i]->output(outfn);
+ delete sv[i];
+ sv[i] =0;
}
}