[asterisk-commits] branch 1.2 r26050 - /branches/1.2/apps/app_voicemail.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue May 9 06:28:40 MST 2006


Author: bweschke
Date: Tue May  9 08:28:39 2006
New Revision: 26050

URL: http://svn.digium.com/view/asterisk?rev=26050&view=rev
Log:
 Correct memory leak in find_user_realtime #7118 (fnordian)


Modified:
    branches/1.2/apps/app_voicemail.c

Modified: branches/1.2/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_voicemail.c?rev=26050&r1=26049&r2=26050&view=diff
==============================================================================
--- branches/1.2/apps/app_voicemail.c (original)
+++ branches/1.2/apps/app_voicemail.c Tue May  9 08:28:39 2006
@@ -562,6 +562,7 @@
 					apply_option(retval, tmp->name, tmp->value);
 				tmp = tmp->next;
 			} 
+			ast_variables_destroy(var);
 		} else { 
 			if (!ivm) 
 				free(retval);



More information about the asterisk-commits mailing list