mmi-client : reset array_string's size because it is same as nargs 45/277145/1
authordyamy-lee <dyamy.lee@samsung.com>
Fri, 4 Mar 2022 01:42:13 +0000 (10:42 +0900)
committerdyamy-lee <dyamy.lee@samsung.com>
Fri, 1 Jul 2022 05:49:45 +0000 (14:49 +0900)
Change-Id: Iec0eb8a8a714fc13a7b1afd930f36b4ef7955b5d

src/mmimgr/mmi-client.c

index 4f5948884e2f8dcde43b52f5129e1be2b363b13a..0e0b3ecd4cb07c18d675c5fb56d5a6190985877a 100644 (file)
@@ -825,7 +825,7 @@ client_manager_send_action_event(mmi_client *client, action_event_arg *args)
        rpc_port_stub_action_event_set_cmd(action_event_h, ev->cmd);
        rpc_port_stub_action_event_set_nargs(action_event_h, ev->nargs);
        rpc_port_stub_action_event_set_source(action_event_h, ev->source);
-       rpc_port_stub_array_string_set(array_string_h, ev->args, sizeof(char **)* ev->nargs);
+       rpc_port_stub_array_string_set(array_string_h, ev->args, ev->nargs);
        rpc_port_stub_action_event_set_args(action_event_h, array_string_h);
 
        r = rpc_port_stub_mmifw_action_event_cb_invoke(client->action_cb_h, action_event_h);