shell: fix destroying not allocated resource 24/268124/3
authorulgal-park <ulgal.park@samsung.com>
Thu, 16 Dec 2021 08:53:19 +0000 (17:53 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Fri, 17 Dec 2021 04:25:33 +0000 (04:25 +0000)
Change-Id: Ia631e6533c9605bd00246f501af507d2fd4e9292

src/shell/shell.c

index 018f9f1..3b63f79 100644 (file)
@@ -589,7 +589,6 @@ zxdg_shell_cb_bind(struct wl_client *client, void *data, uint32_t version, uint3
 
        return;
 err_shell:
-       wl_resource_destroy(resource);
        wl_client_post_no_memory(client);
 }