res_pjsip_history: Add missing unlock to CLI command.

Change-Id: I872060a30543776a176a316309602d924a23eb29
This commit is contained in:
Corey Farrell
2018-01-04 10:30:48 -05:00
parent d25a9bc7d3
commit d73a3a1764

View File

@@ -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);
}
}