From: SooChan Lim Date: Thu, 19 Apr 2018 03:49:51 +0000 (+0900) Subject: add pthred_unlock X-Git-Tag: accepted/tizen/unified/20180419.134317~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=0f68df32ed413593c01bd4327f6d3c410e95d091;p=platform%2Fcore%2Fuifw%2Flibtdm.git add pthred_unlock Change-Id: I101904deef6c6045e39d58c948a7ead76ecdc5e8 --- diff --git a/src/tdm_hwc.c b/src/tdm_hwc.c index 115197c..f7ed46f 100644 --- a/src/tdm_hwc.c +++ b/src/tdm_hwc.c @@ -514,6 +514,7 @@ tdm_hwc_commit(tdm_hwc *hwc, int sync, tdm_hwc_commit_handler func, void *user_d if (ret != TDM_ERROR_NONE) { TDM_ERR("tdm_thread_cb_add failed"); free(hwc_commit_handler); + _pthread_mutex_unlock(&private_display->lock); return ret; }