summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qfiledialog.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2023-12-11 19:32:09 +0100
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2023-12-13 18:09:31 +0100
commitb37b8eb7ea0a809c6e96189e8f9e834d6763e170 (patch)
tree91a985acbc5da91df70f726acd5f31dc32f7d09e /src/widgets/dialogs/qfiledialog.cpp
parent8d0d520cd313a653226f734ef819021f83e66721 (diff)
qt_imageToWinHBITMAP(): properly delete object on error
Properly delete the handle created by CreateDIBSection() with DeleteObject() in case of error. Pick-to: 6.7 6.6 6.5 Fixes: QTBUG-18057 Change-Id: Ibf40f6afb255bc5a7d7bf39939f5eb3dfcd19f84 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'src/widgets/dialogs/qfiledialog.cpp')
0 files changed, 0 insertions, 0 deletions