diff options
author | Matthew Jordan <mjordan@digium.com> | 2014-09-21 01:16:05 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2014-09-21 01:16:05 +0000 |
commit | 64a9e5f0011d0f6dcfccfaa1ed9e3d65eaf80bdd (patch) | |
tree | 77280c90c28fb545ce74ce4b2a0bd34799e78657 /menuselect/Makefile | |
parent | 9bf039346af4f08fe949ec72c5ae110d74eb3264 (diff) |
main/channel: Unlock channel in off-nominal path
In r423414 (13) / r423415 (trunk), an API call that determines if a format
capability structure is empty was added. This returns true if the format
capability structure is completely empty or "none". A check for this was added
in channel.c's set_format call. Unfortunately, when this check was true, it
returned from the function while still holding the channel lock. This caused
the CDR unit tests - which have a tendency to create channels with no formats -
to deadlock. Whoops.
This patch unlocks the channel on the off-nominal path.
........
Merged revisions 423641 from http://svn.asterisk.org/svn/asterisk/branches/13
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@423642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'menuselect/Makefile')
0 files changed, 0 insertions, 0 deletions