[asterisk-bugs] [JIRA] (ASTERISK-23266) pjsip_cli: Memory leak in ast_sip_cli_print_sorcery_objectset

George Joseph (JIRA) noreply at issues.asterisk.org
Fri Feb 7 15:03:03 CST 2014


George Joseph created ASTERISK-23266:
----------------------------------------

             Summary: pjsip_cli:  Memory leak in ast_sip_cli_print_sorcery_objectset
                 Key: ASTERISK-23266
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23266
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_pjsip
    Affects Versions: 12.0.0
         Environment: Fedora 20 x86_64
            Reporter: George Joseph
            Severity: Minor


I left out 2 ast_variables_destroy() calls so the variables allocated by ast_sorcery_objectset_create() never get released.

It leaks whenever someone does a 
pjsip show <object_type> <object_id>
from the command line.

Patch coming.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list