mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 03:04:19 +00:00
Merge "res_pjsip_history: Add missing unlock to CLI command." into 13
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user