diff options
author | Ruth Sadler <ext-ruth.sadler@nokia.com> | 2011-01-11 10:57:41 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2011-01-11 13:18:57 (GMT) |
commit | b58eb0419f9f724af5d9baf8bbce4e0f1e2f3f8b (patch) | |
tree | d5e6e30168858c8ac7b4e524ced47a33fa8edec9 /src/3rdparty | |
parent | 1640acce5ca8f49c5655edffa2a1108048c5a414 (diff) | |
download | Qt-b58eb0419f9f724af5d9baf8bbce4e0f1e2f3f8b.zip Qt-b58eb0419f9f724af5d9baf8bbce4e0f1e2f3f8b.tar.gz Qt-b58eb0419f9f724af5d9baf8bbce4e0f1e2f3f8b.tar.bz2 |
Fixed resource leak in Phonon MMF backend
Task-number: QTBUG-16513
Reviewed-by: Gareth Stockwell
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/phonon/mmf/download.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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(); } |