}
}
- mode_change_handler = calloc(1, sizeof(tdm_private_output_change_handler));
+ mode_change_handler = calloc(1, sizeof(tdm_private_output_mode_change_handler));
if (!mode_change_handler) {
/* LCOV_EXCL_START */
TDM_ERR("failed: alloc memory");
ret = tdm_voutput_set_commit_func(private_voutput, NULL);
if (ret != TDM_ERROR_NONE) {
TDM_ERR("failed: tdm_voutput_set_commit_func");
+ _pthread_mutex_unlock(&private_display->lock);
return ret;
}
}