From b58eb0419f9f724af5d9baf8bbce4e0f1e2f3f8b Mon Sep 17 00:00:00 2001 From: Ruth Sadler Date: Tue, 11 Jan 2011 10:57:41 +0000 Subject: Fixed resource leak in Phonon MMF backend Task-number: QTBUG-16513 Reviewed-by: Gareth Stockwell --- src/3rdparty/phonon/mmf/download.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/3rdparty/phonon/mmf/download.cpp b/src/3rdparty/phonon/mmf/download.cpp index de65811..f074d7f 100644 --- a/src/3rdparty/phonon/mmf/download.cpp +++ b/src/3rdparty/phonon/mmf/download.cpp @@ -40,6 +40,8 @@ DownloadPrivate::DownloadPrivate(Download *parent) DownloadPrivate::~DownloadPrivate() { + if (m_download) + m_download->Delete(); m_downloadManager.Disconnect(); m_downloadManager.Close(); } -- cgit v0.12