From 31ca1ee427cce4dadb98e3091504db707346b0bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Thu, 24 Mar 2011 18:55:18 +0100 Subject: Prevent crash on exit by deleting QXcbWindow's GL context integration. --- src/plugins/platforms/xcb/qxcbwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/platforms/xcb/qxcbwindow.cpp b/src/plugins/platforms/xcb/qxcbwindow.cpp index a016ccd..e33a661 100644 --- a/src/plugins/platforms/xcb/qxcbwindow.cpp +++ b/src/plugins/platforms/xcb/qxcbwindow.cpp @@ -195,6 +195,7 @@ QXcbWindow::QXcbWindow(QWidget *tlw) QXcbWindow::~QXcbWindow() { + delete m_context; xcb_destroy_window(xcb_connection(), m_window); } -- cgit v0.12