Fix potential crash in QWindowsWindow::setDropSiteEnabled().
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Mon, 17 Aug 2015 11:18:28 +0000 (13:18 +0200)
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Tue, 25 Aug 2015 11:41:13 +0000 (11:41 +0000)
commit4c3fa449acfc7ec43f3b2c53318c2838ceba5a86
tree7a4e8b6f0a9da49f1be7f3a1c4da43d37a075dbf
parentb14550fa45395d6b57d958bb4a4e42212ba0da0f
Fix potential crash in QWindowsWindow::setDropSiteEnabled().

Release drop target after CoLockObjectExternal() to prevent
a potential access violation.

Change-Id: I2c3bde9f8008b1d567544596f56ebfd61fe6ad86
Task-number: QTBUG-47737
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
src/plugins/platforms/windows/qwindowswindow.cpp