summaryrefslogtreecommitdiff
path: root/muse2/al/sig.cpp
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-04-17 15:46:34 +0000
committerFlorian Jung <flo@windfisch.org>2011-04-17 15:46:34 +0000
commita166bf3113c24a02c154bcd94f5f4291d6e675fe (patch)
tree4d8f5a2d6a6b675e976c764b91aa8b62cbb19f2b /muse2/al/sig.cpp
parent47a10173ea203de2036dd00791fe5c24fb673135 (diff)
parentaab05a914e357938f0ccb3d592186320e0646366 (diff)
a mastertrack keymap editor has been inserted and used
merged with current trunk, removed attic/
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