]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Remove an extraneous unlocking operation from ast_channel_free.
authorMark Michelson <mmichelson@digium.com>
Wed, 13 May 2009 19:41:44 +0000 (19:41 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 13 May 2009 19:41:44 +0000 (19:41 +0000)
commit7189d758051d3cf467dc1ca29337a766e92eb8b2
tree6152e2caf7586cb0480713080d9824397cb61cd2
parent0e29c52c46074cb5cb1ab237f582c96831c80c89
Remove an extraneous unlocking operation from ast_channel_free.

In the case that we could not remove the desired channel from the
list of channels, there was an extra call to unlock the channel list.
Since we unlock the list later on in the function anyway, this results
in the list being unlocked twice yet only being locked once.

(closes issue #15098)
Reported by: tim_ringenbach
Patches:
      remove_extra_unlock.diff uploaded by tim (license 540)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@194356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/channel.c