]> granicus.if.org Git - taglib/commitdiff
Delete pictures in XiphComment destructor
authorSander Jansen <s.jansen@gmail.com>
Sat, 16 May 2015 19:14:06 +0000 (14:14 -0500)
committerSander Jansen <s.jansen@gmail.com>
Thu, 12 Nov 2015 14:50:34 +0000 (08:50 -0600)
taglib/ogg/xiphcomment.cpp

index c307e618d88f4143913a2169e9f872577c576830..2783d922213d44d82ccddc1751b248d8d72dfe09 100644 (file)
@@ -61,6 +61,7 @@ Ogg::XiphComment::XiphComment(const ByteVector &data) : TagLib::Tag()
 
 Ogg::XiphComment::~XiphComment()
 {
+  removePictures();
   delete d;
 }