diff options
author | Ruth Sadler <ext-ruth.sadler@nokia.com> | 2011-01-11 10:57:41 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2011-01-13 13:43:13 (GMT) |
commit | 0041ca3ca73a617aff098ad4eaba8e9119c85824 (patch) | |
tree | 671a88366aa8694e3e7a2994f7502db9db505cda | |
parent | 6f1f46c78ad43cad41d062efb96319c0548a6dbc (diff) | |
download | Qt-0041ca3ca73a617aff098ad4eaba8e9119c85824.zip Qt-0041ca3ca73a617aff098ad4eaba8e9119c85824.tar.gz Qt-0041ca3ca73a617aff098ad4eaba8e9119c85824.tar.bz2 |
Fixed resource leak in Phonon MMF backend
Task-number: QTBUG-16513
Reviewed-by: Gareth Stockwell
(cherry picked from commit b58eb0419f9f724af5d9baf8bbce4e0f1e2f3f8b)
-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(); } |