summaryrefslogtreecommitdiff
path: root/muse2/al/sig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/al/sig.cpp')
-rw-r--r--muse2/al/sig.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/muse2/al/sig.cpp b/muse2/al/sig.cpp
index 7eeae6be..293a5b3e 100644
--- a/muse2/al/sig.cpp
+++ b/muse2/al/sig.cpp
@@ -64,6 +64,12 @@ SigList::SigList()
insert(std::pair<const unsigned, SigEvent*> (MAX_TICK, new SigEvent(TimeSignature(4, 4), 0)));
}
+SigList::~SigList()
+ {
+ for (iSigEvent i = begin(); i != end(); ++i)
+ delete i->second;
+ }
+
//---------------------------------------------------------
// add
// signatures are only allowed at the beginning of