[asterisk-bugs] [JIRA] (ASTERISK-23431) [patch]Memory leak in manager_add_filter function in manager.c

Rusty Newton (JIRA) noreply at issues.asterisk.org
Thu Mar 6 10:55:48 CST 2014


Rusty Newton created ASTERISK-23431:
---------------------------------------

             Summary: [patch]Memory leak in manager_add_filter function in manager.c
                 Key: ASTERISK-23431
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23431
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/ManagerInterface
    Affects Versions: SVN, 11.8.0, 12.1.0
            Reporter: Etienne Lessard
            Severity: Minor


The title says it all.

If you have a section in manager.conf with an eventfilter option, when the manager config is reloaded, then a leak occurs (i.e. the reference to new_filter will never reach 0).

It's missing an ao2_ref(new_filter, -1) after the call to ao2_t_link.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list