[Scummvm-cvs-logs] CVS: scummvm/scumm/smush codec47.cpp,1.65,1.66

Pawel Kolodziejski aquadran at users.sourceforge.net
Sat Dec 6 00:40:01 CET 2003


Update of /cvsroot/scummvm/scummvm/scumm/smush
In directory sc8-pr-cvs1:/tmp/cvs-serv32351

Modified Files:
	codec47.cpp 
Log Message:
fix alloc/free

Index: codec47.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/smush/codec47.cpp,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- codec47.cpp	6 Dec 2003 08:36:07 -0000	1.65
+++ codec47.cpp	6 Dec 2003 08:39:37 -0000	1.66
@@ -537,6 +537,9 @@
 		_deltaBufs[0] = NULL;
 		_deltaBufs[1] = NULL;
 	}
+}
+
+Codec47Decoder::~Codec47Decoder() {
 	if (_tableBig) {
 		free(_tableBig);
 		_tableBig = NULL;
@@ -545,9 +548,6 @@
 		free(_tableSmall);
 		_tableSmall = NULL;
 	}
-}
-
-Codec47Decoder::~Codec47Decoder() {
 	deinit();
 }
 





More information about the Scummvm-git-logs mailing list