diff options
author | Eike Ziller <eike.ziller@nokia.com> | 2012-07-30 09:48:43 +0200 |
---|---|---|
committer | Daniel Molkentin <daniel.molkentin@nokia.com> | 2012-08-03 18:30:13 +0200 |
commit | 98f3bd29307b45c0666b766185e94fb2e1e1ff55 (patch) | |
tree | f4910fedf0499bc7313d6dfc4c445bccf7e9eb99 | |
parent | a4bd79f7328b5d25f7acaf3c2bfba4f9d954cca0 (diff) | |
download | qt-creator-98f3bd29307b45c0666b766185e94fb2e1e1ff55.tar.gz |
Windows: Fix resource leak
Task-number: QTCREATORBUG-7385
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
(cherry picked from commit e0f16c3093b50bee85790d3cc2c58b87b3d92cc4)
Change-Id: I85e0fc108eafea1abb7d4d559d1020163969e664
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
-rw-r--r-- | src/plugins/coreplugin/progressmanager/progressmanager_win.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/coreplugin/progressmanager/progressmanager_win.cpp b/src/plugins/coreplugin/progressmanager/progressmanager_win.cpp index e634d1db10..7b45e56439 100644 --- a/src/plugins/coreplugin/progressmanager/progressmanager_win.cpp +++ b/src/plugins/coreplugin/progressmanager/progressmanager_win.cpp @@ -133,6 +133,7 @@ void Core::Internal::ProgressManagerPrivate::setApplicationLabel(const QString & Q_UNIMPLEMENTED(); #else pITask->SetOverlayIcon(winId, pix.toWinHICON(), (wchar_t*)text.utf16()); + DestroyIcon(icon); #endif } } |