summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qdnd_x11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qdnd_x11.cpp b/src/gui/kernel/qdnd_x11.cpp
index bb29623..7257aa6 100644
--- a/src/gui/kernel/qdnd_x11.cpp
+++ b/src/gui/kernel/qdnd_x11.cpp
@@ -1788,7 +1788,7 @@ bool QX11Data::xdndHandleBadwindow()
qt_xdnd_current_proxy_target = 0;
manager->object->deleteLater();
manager->object = 0;
- delete xdnd_data.deco;
+ xdnd_data.deco->deleteLater(); //delay freeing to avoid crash QTBUG-19363
xdnd_data.deco = 0;
return true;
}