summaryrefslogtreecommitdiff
path: root/res/res_pjsip_history.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_pjsip_history.c')
-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);
}
}