From 21ab2ce9f77ca364d4f9ae1d4f52162b951d4530 Mon Sep 17 00:00:00 2001 From: Junkyeong Kim Date: Fri, 23 Nov 2018 12:01:28 +0900 Subject: [PATCH] client: fix dealloacated error Change-Id: If64862dc4ac1cec654ac45e57bce5e5733ffea86 Signed-off-by: Junkyeong Kim --- client/tdm_client.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/tdm_client.c b/client/tdm_client.c index fd51b29..3a2ab48 100644 --- a/client/tdm_client.c +++ b/client/tdm_client.c @@ -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); -- 2.7.4