Cleanup reference leaks in res_jabber
authorJonathan Rose <jrose@digium.com>
Thu, 27 Oct 2011 14:24:01 +0000 (14:24 +0000)
committerJonathan Rose <jrose@digium.com>
Thu, 27 Oct 2011 14:24:01 +0000 (14:24 +0000)
commitb61256c64b343cdd26a4a42b9733e04fb2ace5d9
tree409d455f1e497464803912722cb3935f355b0cf5
parentebf860e157b640d4f8b7f84dc96721f589f22d31
Cleanup reference leaks in res_jabber

res_jabber.c had a number of places where astobjs would be referenced and have their
reference counts bumped without having a dereference made before the object lost scope.
This patch adds a number of ASTOBJ_UNREFs to resolve that.

Review: https://reviewboard.asterisk.org/r/1478/
........

Merged revisions 342545 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@342557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_jabber.c