keyrouter: Add missing assignment 15/278215/1
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 8 Jun 2022 07:53:16 +0000 (16:53 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 18 Jul 2022 05:58:55 +0000 (14:58 +0900)
The member variable 'keyrouter' of ds_tizen_keyrouter_client is referred
throughout the file, but it's never been assigned.

Change-Id: I7db736c88c89026433da5c1621f249593b402125

src/keyrouter/keyrouter.c

index 991c1f3..2e95e48 100644 (file)
@@ -344,6 +344,7 @@ keyrouter_bind(struct wl_client *client, void *data, uint32_t version,
         return;
     }
 
+    keyrouter_client->keyrouter = keyrouter;
     keyrouter_client->resource =
         wl_resource_create(client, &tizen_keyrouter_interface, MIN(version, 2), id);
     if (keyrouter_client->resource == NULL) {