summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins2 <jenkins2@gerrit.asterisk.org>2018-01-04 14:37:47 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2018-01-04 14:37:47 -0600
commitb8271826b358afd887f9476201fb7fdf12b7119c (patch)
tree5cb640fbe8463219cd33dfef2b1bf71242d7f385
parenteb8a36d961041b015d848c843b00a875a65be7fb (diff)
parentd73a3a176485d3f3edf1071a4a1ced13dfefc375 (diff)
Merge "res_pjsip_history: Add missing unlock to CLI command." into 13
-rw-r--r--res/res_pjsip_history.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_history.c b/res/res_pjsip_history.c
index bcc4877f6..ffe1a1d88 100644
--- a/res/res_pjsip_history.c
+++ b/res/res_pjsip_history.c
@@ -1282,7 +1282,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);
}
}