[asterisk-bugs] [JIRA] (ASTERISK-22414) [patch] voicemail and test_voicemail_api leaks
Jonathan Rose (JIRA)
noreply at issues.asterisk.org
Wed Sep 4 16:31:03 CDT 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-22414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=209901#comment-209901 ]
Jonathan Rose commented on ASTERISK-22414:
------------------------------------------
I agree with these patches and am currently committing them. I've made a small adjustment on the tests in that I've made the allocation function for snapshots release the object and return NULL if the string field can't be allocated.
> [patch] voicemail and test_voicemail_api leaks
> ----------------------------------------------
>
> Key: ASTERISK-22414
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-22414
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Applications/app_voicemail
> Affects Versions: SVN, 12, 11.6.0
> Reporter: Corey Farrell
> Attachments: test_voicemail_api-leaks-11.patch, test_voicemail_api-leaks-12up.patch, voicemail-leaks-11up.patch
>
>
> app_voicemail.c: message_range_and_existence_check() leaks config object's when msg_id doesn't match.
> test_voicemail_api.c: mock snapshot object's are ast_free'd, they need a destructor to cleanup stringfields.
> Patch for asterisk 12 is also for trunk.
--
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