[asterisk-commits] file: branch file/bridging r79097 - /team/file/bridging/main/bridging.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Aug 10 14:32:28 CDT 2007


Author: file
Date: Fri Aug 10 14:32:27 2007
New Revision: 79097

URL: http://svn.digium.com/view/asterisk?view=rev&rev=79097
Log:
Memory leaks are bad, mmmk?

Modified:
    team/file/bridging/main/bridging.c

Modified: team/file/bridging/main/bridging.c
URL: http://svn.digium.com/view/asterisk/team/file/bridging/main/bridging.c?view=diff&rev=79097&r1=79096&r2=79097
==============================================================================
--- team/file/bridging/main/bridging.c (original)
+++ team/file/bridging/main/bridging.c Fri Aug 10 14:32:27 2007
@@ -383,6 +383,8 @@
                                 /* Write out the frame to the bridge technology */
                                 bridge->technology->write(bridge, bridge_channel, frame);
                         }
+			if (frame)
+				ast_frfree(frame);
 		} else if (outfd > -1) {
 			bridge->technology->fd(bridge, bridge_channel, outfd);
 		}




More information about the asterisk-commits mailing list