EINA_LIST_FREE(mgr_data->user_data_list, device_user_data)
{
- DMINF("Destroy dev_res:%u", wl_resource_get_id(device_user_data->dev_res));
+ DMDBG("Destroy dev_res:%u", wl_resource_get_id(device_user_data->dev_res));
device_user_data->mgr_data = NULL;
wl_resource_destroy(device_user_data->dev_res);
}
mgr_data = E_NEW(E_Devicemgr_Input_Device_Mgr_Data, 1);
if (!mgr_data)
- {
- wl_client_post_no_memory(client);
- return;
- }
+ {
+ DMERR("Failed to allocate memory for input device mgr data\n");
+ wl_client_post_no_memory(client);
+ return;
+ }
if (!(res = wl_resource_create(client, &tizen_input_device_manager_interface, version, id)))
{