client: fix dealloacated error 66/193666/1
authorJunkyeong Kim <jk0430.kim@samsung.com>
Fri, 23 Nov 2018 03:01:28 +0000 (12:01 +0900)
committerJunkyeong Kim <jk0430.kim@samsung.com>
Fri, 23 Nov 2018 03:01:31 +0000 (12:01 +0900)
Change-Id: If64862dc4ac1cec654ac45e57bce5e5733ffea86
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
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);