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

Corey Farrell asteriskteam at digium.com
Thu Jan 4 09:34:00 CST 2018


Corey Farrell has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/01/7801/1

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: newchange
Gerrit-Change-Id: I872060a30543776a176a316309602d924a23eb29
Gerrit-Change-Number: 7801
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180104/a4fca793/attachment-0001.html>


More information about the asterisk-code-review mailing list