wl_resource_create(client, &wl_tdm_voutput_interface,
wl_resource_get_version(resource), id);
if (!voutput_resource) {
- /* LCOV_EXCL_START */
-
wl_resource_post_no_memory(resource);
TDM_ERR("wl_resource_create failed");
return;
-
- /* LCOV_EXCL_STOP */
}
voutput_info = calloc(1, sizeof * voutput_info);
if (!voutput_info) {
- /* LCOV_EXCL_START */
-
wl_resource_post_no_memory(resource);
wl_resource_destroy(voutput_resource);
TDM_ERR("alloc failed");
return;
-
- /* LCOV_EXCL_STOP */
}
LIST_ADDTAIL(&voutput_info->link, &private_server->voutput_list);