[asterisk-commits] jrose: branch 11 r398281 - /branches/11/apps/app_voicemail.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Sep 4 16:11:50 CDT 2013
Author: jrose
Date: Wed Sep 4 16:11:48 2013
New Revision: 398281
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=398281
Log:
app_voicemail: Fix leaking config objects when msg_id doesn't match
(issues ASTERISK-22414)
Reported by: Corey Farrell
Patch:
test_voicemail_api-leaks-11.patch uploaded by coreyfarrell (license 5909)
Modified:
branches/11/apps/app_voicemail.c
Modified: branches/11/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/apps/app_voicemail.c?view=diff&rev=398281&r1=398280&r2=398281
==============================================================================
--- branches/11/apps/app_voicemail.c (original)
+++ branches/11/apps/app_voicemail.c Wed Sep 4 16:11:48 2013
@@ -15159,6 +15159,7 @@
DISPOSE(vms->curdir, vms->curmsg);
break;
}
+ ast_config_destroy(msg_cfg);
DISPOSE(vms->curdir, vms->curmsg);
}
if (!found) {
More information about the asterisk-commits
mailing list