[asterisk-commits] igorg: branch 1.8 r382409 - /branches/1.8/channels/chan_unistim.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 4 21:46:37 CST 2013


Author: igorg
Date: Mon Mar  4 21:46:33 2013
New Revision: 382409

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=382409
Log:

Fix several unreleased mutex locks that cause problem with processing calls
Reported by: Daniel Bohling
Tested by: Daniel Bohling

(Closes issue ASTERISK-21119)


Modified:
    branches/1.8/channels/chan_unistim.c

Modified: branches/1.8/channels/chan_unistim.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_unistim.c?view=diff&rev=382409&r1=382408&r2=382409
==============================================================================
--- branches/1.8/channels/chan_unistim.c (original)
+++ branches/1.8/channels/chan_unistim.c Mon Mar  4 21:46:33 2013
@@ -4072,6 +4072,7 @@
 	if (p->owner != oldchan) {
 		ast_log(LOG_WARNING, "old channel wasn't %s (%p) but was %s (%p)\n",
 				oldchan->name, oldchan, p->owner->name, p->owner);
+		ast_mutex_unlock(&p->lock);
 		return -1;
 	}
 




More information about the asterisk-commits mailing list