[xiph-commits] r11164 - branches/oggdsf_ce_port/src/lib/codecs/flac/filters/dsfFLACEncoder

illiminable at svn.xiph.org illiminable at svn.xiph.org
Tue Apr 18 08:58:47 PDT 2006


Author: illiminable
Date: 2006-04-18 08:58:42 -0700 (Tue, 18 Apr 2006)
New Revision: 11164

Modified:
   branches/oggdsf_ce_port/src/lib/codecs/flac/filters/dsfFLACEncoder/FLACEncodeInputPin.cpp
Log:
* Fix memory leak in Flac Encoder (reported by Steve Murvai)

Modified: branches/oggdsf_ce_port/src/lib/codecs/flac/filters/dsfFLACEncoder/FLACEncodeInputPin.cpp
===================================================================
--- branches/oggdsf_ce_port/src/lib/codecs/flac/filters/dsfFLACEncoder/FLACEncodeInputPin.cpp	2006-04-18 15:48:16 UTC (rev 11163)
+++ branches/oggdsf_ce_port/src/lib/codecs/flac/filters/dsfFLACEncoder/FLACEncodeInputPin.cpp	2006-04-18 15:58:42 UTC (rev 11164)
@@ -79,6 +79,7 @@
 	}
 
 	bool locRetVal = process_interleaved(locFLACBuff, locNumSamplesPerChannel);
+	delete[] locFLACBuff;
 
 	if (locRetVal == true) {
 		return 0;



More information about the commits mailing list