Remove some ref leaks and a return without unlock.
authorGregory Nietsky <gregory@distrotech.co.za>
Sun, 23 Oct 2011 14:35:26 +0000 (14:35 +0000)
committerGregory Nietsky <gregory@distrotech.co.za>
Sun, 23 Oct 2011 14:35:26 +0000 (14:35 +0000)
commit3d55a05019d34eb8cc9ce5815e1248c0535cb601
tree0d511f14fc0c94552b10661e3d921c714a3995e0
parentd36c70e0212261871dae1db259a5a8e0ee9e0473
Remove some ref leaks and a return without unlock.

There some resource leaks introduced in asterisk 10
make sure that locks are not held on return and we
release ref's held.
........

Merged revisions 341972 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@341973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_queue.c