[Asterisk-code-review] res pjsip history: Add missing unlock to CLI command. (asterisk[13])

Jenkins2 asteriskteam at digium.com
Thu Jan 4 14:37:47 CST 2018


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/7801 )

Change subject: res_pjsip_history: Add missing unlock to CLI command.
......................................................................

res_pjsip_history: Add missing unlock to CLI command.

Change-Id: I872060a30543776a176a316309602d924a23eb29
---
M res/res_pjsip_history.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Kevin Harwell: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved
  Jenkins2: Approved for Submit



diff --git a/res/res_pjsip_history.c b/res/res_pjsip_history.c
index bcc4877..ffe1a1d 100644
--- a/res/res_pjsip_history.c
+++ b/res/res_pjsip_history.c
@@ -1282,7 +1282,7 @@
 		}
 		entry = ao2_bump(AST_VECTOR_GET(vec, 0));
 		if (vec == &vector_history) {
-			ast_mutex_lock(&history_lock);
+			ast_mutex_unlock(&history_lock);
 		}
 	}
 

-- 
To view, visit https://gerrit.asterisk.org/7801
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: merged
Gerrit-Change-Id: I872060a30543776a176a316309602d924a23eb29
Gerrit-Change-Number: 7801
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180104/e285f4ba/attachment.html>


More information about the asterisk-code-review mailing list