aboutsummaryrefslogtreecommitdiffstats
path: root/src/base/lyric_line.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/lyric_line.cpp')
-rw-r--r--src/base/lyric_line.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/base/lyric_line.cpp b/src/base/lyric_line.cpp
index c15ddd58..e5e68fd2 100644
--- a/src/base/lyric_line.cpp
+++ b/src/base/lyric_line.cpp
@@ -34,6 +34,10 @@ namespace usdx
LyricLine::~LyricLine()
{
+ for (std::list<LyricWord*>::iterator it = words.begin(); it != words.end(); it++) {
+ delete *it;
+ }
+
words.clear();
}