mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-24 13:50:08 +00:00
res_pjsip_history: Add missing unlock to CLI command.
Change-Id: I872060a30543776a176a316309602d924a23eb29
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user