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

Corey Farrell asteriskteam at digium.com
Thu Jan 4 09:31:50 CST 2018


Corey Farrell has uploaded this change for review. ( https://gerrit.asterisk.org/7797


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/97/7797/1

diff --git a/res/res_pjsip_history.c b/res/res_pjsip_history.c
index ed374d6..d6b3eeb 100644
--- a/res/res_pjsip_history.c
+++ b/res/res_pjsip_history.c
@@ -1280,7 +1280,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/7797
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I872060a30543776a176a316309602d924a23eb29
Gerrit-Change-Number: 7797
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/12b077ae/attachment-0001.html>


More information about the asterisk-code-review mailing list