summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/text_subtitle.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/text_subtitle.cc b/src/lib/text_subtitle.cc
index 0b2eef8f2..8e3f92026 100644
--- a/src/lib/text_subtitle.cc
+++ b/src/lib/text_subtitle.cc
@@ -78,6 +78,8 @@ TextSubtitle::TextSubtitle (shared_ptr<const TextSubtitleContent> content)
if (reader) {
_subtitles = sub::collect<vector<sub::Subtitle> > (reader->subtitles ());
}
+
+ delete reader;
}
ContentTime