aboutsummaryrefslogtreecommitdiffstats
path: root/src/base/song.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/song.cpp')
-rw-r--r--src/base/song.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/base/song.cpp b/src/base/song.cpp
index ad5bb724..1b904810 100644
--- a/src/base/song.cpp
+++ b/src/base/song.cpp
@@ -90,7 +90,15 @@ namespace usdx
Song::~Song(void)
{
+ for (std::list<BPM*>::iterator it = bpm.begin(); it != bpm.end(); it++) {
+ delete *it;
+ }
+
bpm.clear();
+
+ for (std::list<LyricLine*>::iterator it = lyrics.begin(); it != lyrics.end(); it++) {
+ delete *it;
+ }
lyrics.clear();
}