From: Sander Jansen Date: Sat, 16 May 2015 19:14:06 +0000 (-0500) Subject: Delete pictures in XiphComment destructor X-Git-Tag: v1.11beta~64^2~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d3351a0012d89bd78e032859597e4f4ef40efdd5;p=taglib Delete pictures in XiphComment destructor --- diff --git a/taglib/ogg/xiphcomment.cpp b/taglib/ogg/xiphcomment.cpp index c307e618..2783d922 100644 --- a/taglib/ogg/xiphcomment.cpp +++ b/taglib/ogg/xiphcomment.cpp @@ -61,6 +61,7 @@ Ogg::XiphComment::XiphComment(const ByteVector &data) : TagLib::Tag() Ogg::XiphComment::~XiphComment() { + removePictures(); delete d; }