res_pjsip_history: Add missing unlock to CLI command.

Change-Id: I872060a30543776a176a316309602d924a23eb29
pull/9/head
Corey Farrell 8 years ago
parent 2fac32a37a
commit 73bf5035b8

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