diff --git a/src/gui/audioplayer.cpp b/src/gui/audioplayer.cpp index bf78b6946..dd025b8bf 100644 --- a/src/gui/audioplayer.cpp +++ b/src/gui/audioplayer.cpp @@ -1842,6 +1842,7 @@ void CAudioPlayerGui::paintCover() cover_object->paint(); m_cover_width = cover_object->getWidth() + OFFSET_INNER_MID; + delete cover_object; } } } @@ -1968,6 +1969,7 @@ void CAudioPlayerGui::paintDetailsLine(int pos) if (m_detailsline != NULL) { m_detailsline->kill(); + delete m_detailsline; m_detailsline = NULL; }