From 9d303192856bf1b0bf07ee18b0d08317e7d5ffae Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Wed, 12 Aug 2020 09:27:56 +0900 Subject: [PATCH] DSWaylandCompositor: set __shell to be nullptr at constructor It fixes a crash at the DSCanvasTest.attachPolicyArea. Change-Id: Id111166004adbbdf69a929c06baa8e6eb3f9febd --- src/DSWaylandServer/DSWaylandCompositor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/DSWaylandServer/DSWaylandCompositor.cpp b/src/DSWaylandServer/DSWaylandCompositor.cpp index a8790fc..a56856e 100644 --- a/src/DSWaylandServer/DSWaylandCompositor.cpp +++ b/src/DSWaylandServer/DSWaylandCompositor.cpp @@ -25,7 +25,8 @@ DSWaylandCompositorPrivate::DSWaylandCompositorPrivate(DSWaylandCompositor *comp _loop(nullptr), _socket_fd_handler(nullptr), _compositor(compositor), - __wlExtension(nullptr) + __wlExtension(nullptr), + __shell(nullptr) { if (!ecore_init()) { -- 2.7.4