Fix pickup extension channel reference error.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 10 Aug 2012 02:07:55 +0000 (02:07 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 10 Aug 2012 02:07:55 +0000 (02:07 +0000)
commitca481359b9146145f07cca09e1fed7204404bb2b
treeed13ad4e1e0bc116fa364db0fe5f2308708f19aa
parent770988512576247fd3c66055c602f643ae45c831
Fix pickup extension channel reference error.

You cannot unref a pointer and then expect to ref it again later.

* Fix potential NULL pointer deref if the call pickup search fails.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@371052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/features.c