[svn-commits] mmichelson: branch mmichelson/trunk-digiumphones r363310 - /team/mmichelson/t...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Apr 23 16:49:30 CDT 2012


Author: mmichelson
Date: Mon Apr 23 16:49:26 2012
New Revision: 363310

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=363310
Log:
Add needed DISPOSE calls in message_range_and_existence_check().


Modified:
    team/mmichelson/trunk-digiumphones/apps/app_voicemail.c

Modified: team/mmichelson/trunk-digiumphones/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/trunk-digiumphones/apps/app_voicemail.c?view=diff&rev=363310&r1=363309&r2=363310
==============================================================================
--- team/mmichelson/trunk-digiumphones/apps/app_voicemail.c (original)
+++ team/mmichelson/trunk-digiumphones/apps/app_voicemail.c Mon Apr 23 16:49:26 2012
@@ -14764,8 +14764,10 @@
 				found = 1;
 				msg_nums[i] = vms->curmsg;
 				ast_config_destroy(msg_cfg);
+				DISPOSE(vms->curdir, vms->curmsg);
 				break;
 			}
+			DISPOSE(vms->curdir, vms->curmsg);
 		}
 		if (!found) {
 			/* If we can't find one of the message IDs requested, then OH NO! */




More information about the svn-commits mailing list