[asterisk-dev] [Code Review] Fix more res_jabber resource leaks

opticron reviewboard at asterisk.org
Tue Nov 1 15:15:57 CDT 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1553/
-----------------------------------------------------------

Review request for Asterisk Developers and jrose.


Summary
-------

There are many resource leaks inside res_jabber caused by uses of ASTOBJ_CONTAINER_FIND without a corresponding UNREF.  This fixes all the instances I saw and additionally fixes aji_client and aji_buddy leaks into chan_gtalk and chan_jingle.


Diffs
-----

  trunk/channels/chan_gtalk.c 342600 
  trunk/channels/chan_jingle.c 342600 
  trunk/include/asterisk/jabber.h 342600 
  trunk/res/res_jabber.c 342600 

Diff: https://reviewboard.asterisk.org/r/1553/diff


Testing
-------

Tested res_jabber via distributed devstate changes in conjunction with openfire XMPP server.


Thanks,

opticron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20111101/f9bcb38e/attachment.htm>


More information about the asterisk-dev mailing list