[asterisk-commits] jrose: trunk r398284 - in /trunk: ./ apps/app_voicemail.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 4 16:20:04 CDT 2013


Author: jrose
Date: Wed Sep  4 16:20:02 2013
New Revision: 398284

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=398284
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)
........

Merged revisions 398281 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 398283 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    trunk/   (props changed)
    trunk/apps/app_voicemail.c

Propchange: trunk/
------------------------------------------------------------------------------
--- branch-12-merged (original)
+++ branch-12-merged Wed Sep  4 16:20:02 2013
@@ -1,1 +1,1 @@
-/branches/12:1-398198,398206,398215,398226,398237
+/branches/12:1-398198,398206,398215,398226,398237,398283

Modified: trunk/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=398284&r1=398283&r2=398284
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Wed Sep  4 16:20:02 2013
@@ -15208,6 +15208,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