Update of /cvsroot/audacity/audacity-src/src/export
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv7475

Modified Files:
        Export.cpp 
Log Message:
Fix memleak.

Index: Export.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/export/Export.cpp,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -d -r1.90 -r1.91
--- Export.cpp  23 Mar 2009 21:19:40 -0000      1.90
+++ Export.cpp  23 Mar 2009 21:57:00 -0000      1.91
@@ -809,6 +809,10 @@
 {
    delete[] mTrackRects;
    delete[] mChannelRects;
+
+   if (mBitmap) {
+      delete mBitmap;
+   }
 }
 
 //set the font on memDC such that text can fit in specified width and height


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to