[asterisk-dev] [Code Review] 3831: res_fax: unregister manager actions on unload

Corey Farrell reviewboard at asterisk.org
Fri Jul 18 19:29:45 CDT 2014


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

Review request for Asterisk Developers.


Bugs: ASTERISK-24058
    https://issues.asterisk.org/jira/browse/ASTERISK-24058


Repository: Asterisk


Description
-------

Unregisters manager actions FAXSessions, FAXSession and FAXStats at shutdown.

Additionally make ast_manager_register2 use ao2_t_alloc with the action name for the tag, to make it easier to track leaks like this in the future.


Diffs
-----

  /trunk/res/res_fax.c 419018 
  /trunk/main/manager.c 419018 

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


Testing
-------

Verified that tests/manager/originate no longer produces REF_DEBUG leaks.


Thanks,

Corey Farrell

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140719/f75e18ac/attachment.html>


More information about the asterisk-dev mailing list