diff options
author | Robin Burchell <robin.burchell@viroteck.net> | 2014-08-20 21:33:55 +0200 |
---|---|---|
committer | Robin Burchell <robin.burchell@viroteck.net> | 2014-08-21 10:55:40 +0200 |
commit | 86a8f111de04720566925496bc7c82c6f069f56d (patch) | |
tree | de7cfa8c830169118ba97319d0b044cfb85de5a8 /src | |
parent | 27c51ed8b6a12f624b2faab686be756f105a9504 (diff) |
Fix window decorations being leaked.
Change-Id: If0483f5e81a033b275ddc14eb1e44ff82fa1ce65
Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/client/qwaylandwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp index b7f3c4c7e..8679463ec 100644 --- a/src/client/qwaylandwindow.cpp +++ b/src/client/qwaylandwindow.cpp @@ -130,6 +130,8 @@ QWaylandWindow::QWaylandWindow(QWindow *window) QWaylandWindow::~QWaylandWindow() { + delete mWindowDecoration; + if (isInitialized()) { delete mShellSurface; destroy(); |