[asterisk-commits] qwell: trunk r125589 - in /trunk: ./ main/utils.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 26 18:04:19 CDT 2008


Author: qwell
Date: Thu Jun 26 18:04:18 2008
New Revision: 125589

URL: http://svn.digium.com/view/asterisk?view=rev&rev=125589
Log:
Merged revisions 125587 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r125587 | qwell | 2008-06-26 18:03:15 -0500 (Thu, 26 Jun 2008) | 1 line

Make sure to unlock the lock_info lock (huh?).  Possible deadlock?
........

Modified:
    trunk/   (props changed)
    trunk/main/utils.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/utils.c
URL: http://svn.digium.com/view/asterisk/trunk/main/utils.c?view=diff&rev=125589&r1=125588&r2=125589
==============================================================================
--- trunk/main/utils.c (original)
+++ trunk/main/utils.c Thu Jun 26 18:04:18 2008
@@ -717,6 +717,9 @@
 	*lineno = lock_info->locks[i].line_num;
 	*func = lock_info->locks[i].func;
 	*mutex_name = lock_info->locks[i].lock_name;
+
+	pthread_mutex_unlock(&lock_info->lock);
+
 	return 0;
 }
 




More information about the asterisk-commits mailing list