mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
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? ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -717,6 +717,9 @@ int ast_find_lock_info(void *lock_addr, const char **filename, int *lineno, cons
|
||||
*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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user