]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Cleanup reference leaks in res_jabber
authorJonathan Rose <jrose@digium.com>
Thu, 27 Oct 2011 13:58:21 +0000 (13:58 +0000)
committerJonathan Rose <jrose@digium.com>
Thu, 27 Oct 2011 13:58:21 +0000 (13:58 +0000)
commitdffe914c06a2ed639ede6ecd1cd139bbd5c68751
treeab8fb7052c96a6dd9e3097f57dfebe788b71b19b
parentd109a3973b72b3c481953c1b2eefc3588f9210a2
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/

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