Update of /cvsroot/audacity/audacity-src/src/export
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv17852
Modified Files:
ExportFFmpeg.cpp ExportFLAC.cpp ExportMP2.cpp ExportMP3.cpp
ExportOGG.cpp
Log Message:
fix memleak.
Index: ExportMP2.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/export/ExportMP2.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- ExportMP2.cpp 2 Feb 2009 17:11:04 -0000 1.23
+++ ExportMP2.cpp 23 Mar 2009 22:20:26 -0000 1.24
@@ -266,6 +266,7 @@
t0, t1,
stereo? 2: 1, pcmBufferSize, true,
rate, int16Sample, true, mixerSpec);
+ delete [] waveTracks;
ProgressDialog *progress = new ProgressDialog(wxFileName(fName).GetName(),
selectionOnly ?
Index: ExportOGG.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/export/ExportOGG.cpp,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- ExportOGG.cpp 2 Feb 2009 17:11:04 -0000 1.46
+++ ExportOGG.cpp 23 Mar 2009 22:20:29 -0000 1.47
@@ -249,6 +249,7 @@
t0, t1,
numChannels, SAMPLES_PER_RUN, false,
rate, floatSample, true, mixerSpec);
+ delete [] waveTracks;
ProgressDialog *progress = new ProgressDialog(wxFileName(fName).GetName(),
selectionOnly ?
Index: ExportMP3.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/export/ExportMP3.cpp,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -d -r1.106 -r1.107
--- ExportMP3.cpp 8 Mar 2009 19:32:26 -0000 1.106
+++ ExportMP3.cpp 23 Mar 2009 22:20:27 -0000 1.107
@@ -1643,6 +1643,7 @@
t0, t1,
channels, inSamples, true,
rate, int16Sample, true, mixerSpec);
+ delete [] waveTracks;
wxString title;
if (rmode == MODE_SET) {
Index: ExportFLAC.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/export/ExportFLAC.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- ExportFLAC.cpp 8 Mar 2009 19:32:26 -0000 1.30
+++ ExportFLAC.cpp 23 Mar 2009 22:20:25 -0000 1.31
@@ -311,6 +311,7 @@
t0, t1,
numChannels, SAMPLES_PER_RUN, false,
rate, format, true, mixerSpec);
+ delete [] waveTracks;
int i, j;
FLAC__int32 **tmpsmplbuf = new FLAC__int32*[numChannels];
Index: ExportFFmpeg.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/export/ExportFFmpeg.cpp,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- ExportFFmpeg.cpp 9 Mar 2009 07:13:02 -0000 1.57
+++ ExportFFmpeg.cpp 23 Mar 2009 22:20:24 -0000 1.58
@@ -676,6 +676,7 @@
t0, t1,
channels, pcmBufferSize, true,
mSampleRate, int16Sample, true, mixerSpec);
+ delete [] waveTracks;
ProgressDialog *progress = new ProgressDialog(wxFileName(fName).GetName(),
selectionOnly ?
------------------------------------------------------------------------------
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