Merge "res_pjsip_history: Add missing unlock to CLI command." into 13

certified/13.21
Jenkins2 8 years ago committed by Gerrit Code Review
commit b8271826b3

@ -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)); entry = ao2_bump(AST_VECTOR_GET(vec, 0));
if (vec == &vector_history) { if (vec == &vector_history) {
ast_mutex_lock(&history_lock); ast_mutex_unlock(&history_lock);
} }
} }

Loading…
Cancel
Save