[svn-commits] trunk - r7565 /trunk/apps/app_meetme.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue Dec 20 17:36:25 CST 2005


Author: markster
Date: Tue Dec 20 17:36:22 2005
New Revision: 7565

URL: http://svn.digium.com/view/asterisk?rev=7565&view=rev
Log:
Avoid multiple free 

Modified:
    trunk/apps/app_meetme.c

Modified: trunk/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_meetme.c?rev=7565&r1=7564&r2=7565&view=diff
==============================================================================
--- trunk/apps/app_meetme.c (original)
+++ trunk/apps/app_meetme.c Tue Dec 20 17:36:22 2005
@@ -813,9 +813,9 @@
 			ast_frfree(conf->transframe[x]);
 		if (conf->transpath[x])
 			ast_translator_free_path(conf->transpath[x]);
-		if (conf->origframe)
-			ast_frfree(conf->origframe);
-	}
+	}
+	if (conf->origframe)
+		ast_frfree(conf->origframe);
 	if (conf->chan)
 		ast_hangup(conf->chan);
 	else



More information about the svn-commits mailing list