client: fix dealloacated error
[platform/core/uifw/libtdm.git] / client / tdm_client.c
index fd51b29..3a2ab48 100644 (file)
@@ -2327,6 +2327,10 @@ tdm_client_voutput_remove_commit_handler(tdm_client_voutput *voutput,
 
                LIST_DEL(&h->link);
                free(h);
+
+               pthread_mutex_unlock(&private_client->lock);
+
+               return;
        }
 
        pthread_mutex_unlock(&private_client->lock);