Merge "res_pjsip_history: Add missing unlock to CLI command."
This commit is contained in:
commit
a79a8d1526
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue