xwayland/window-manager: add a NULL check to fail when frame_create fails
authorJimmy Ohn <yongjin.ohn@lge.com>
Wed, 1 Jul 2020 10:11:52 +0000 (19:11 +0900)
committerJimmy Ohn <yongjin.ohn@lge.com>
Wed, 1 Jul 2020 10:16:13 +0000 (19:16 +0900)
commitf7f8f5f1a87dd697ad6de74a885493bcca920cde
tree35b1c18100c4a53290b0ba3c9c144effd916ee29
parente55c86a16751f58577195cf76ec7f5c6a106f3bd
xwayland/window-manager: add a NULL check to fail when frame_create fails

This adds a NULL check to fail when frame_create fails. This can happen
crash in frame_resize_inside function if frame is NULL.
xwayland/window-manager.c