From 1341210ee20a5597461eb7f3151a6cf00aa58702 Mon Sep 17 00:00:00 2001 From: Corey Farrell Date: Thu, 4 Jan 2018 10:30:48 -0500 Subject: [PATCH] res_pjsip_history: Add missing unlock to CLI command. Change-Id: I872060a30543776a176a316309602d924a23eb29 --- res/res_pjsip_history.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/res_pjsip_history.c b/res/res_pjsip_history.c index ed374d605b..d6b3eebe9b 100644 --- a/res/res_pjsip_history.c +++ b/res/res_pjsip_history.c @@ -1280,7 +1280,7 @@ static char *pjsip_show_history(struct ast_cli_entry *e, int cmd, struct ast_cli } entry = ao2_bump(AST_VECTOR_GET(vec, 0)); if (vec == &vector_history) { - ast_mutex_lock(&history_lock); + ast_mutex_unlock(&history_lock); } }