diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-10-13 13:55:08 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-10-14 14:59:17 +0000 |
commit | 957fb9fb82f6852e4d94bdce27892598e00bc677 (patch) | |
tree | 6174b023dd55dd85e0d86ba290ac44b951cd6239 /src/gui/kernel/qsimpledrag_p.h | |
parent | bc00f3c2289f2962a99c61cf27002f2991efd8e3 (diff) |
qt_pixmapFromWinHICON(): Fix crash and leak in case of Win32 API fails.
Release the DC and move alpha-checking into separate function
to prevent it from using invalid width/height.
Task-number: QTBUG-48732
Change-Id: Iaf7cfa89b0f702f5012b0451d24a9e887d832c59
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
Diffstat (limited to 'src/gui/kernel/qsimpledrag_p.h')
0 files changed, 0 insertions, 0 deletions