[xiph-commits] r10774 - branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2

illiminable at svn.xiph.org illiminable at svn.xiph.org
Mon Jan 30 05:23:19 PST 2006


Author: illiminable
Date: 2006-01-30 05:23:12 -0800 (Mon, 30 Jan 2006)
New Revision: 10774

Modified:
   branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/HTTPStreamingFileSource.cpp
Log:
* Stupid memory leak

Modified: branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/HTTPStreamingFileSource.cpp
===================================================================
--- branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/HTTPStreamingFileSource.cpp	2006-01-30 13:05:50 UTC (rev 10773)
+++ branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/HTTPStreamingFileSource.cpp	2006-01-30 13:23:12 UTC (rev 10774)
@@ -71,10 +71,10 @@
 	rawDump.close();
 #endif
 	delete mBufferLock;
-	delete mInterBuff;
+	delete[] mInterBuff;
 
 	delete mMemoryBuffer;
-	delete mStreamStartBuffer;
+	delete[] mStreamStartBuffer;
 }
 
 void HTTPStreamingFileSource::unChunk(unsigned char* inBuff, unsigned long inNumBytes) 



More information about the commits mailing list