[Scummvm-cvs-logs] SF.net SVN: scummvm: [32677] scummvm/branches/gsoc2008-rtl/engines/cine
cpage88 at users.sourceforge.net
cpage88 at users.sourceforge.net
Thu Jun 12 20:52:44 CEST 2008
Revision: 32677
http://scummvm.svn.sourceforge.net/scummvm/?rev=32677&view=rev
Author: cpage88
Date: 2008-06-12 11:52:43 -0700 (Thu, 12 Jun 2008)
Log Message:
-----------
CINE: Fixed memory leaks in the CINE engine
Modified Paths:
--------------
scummvm/branches/gsoc2008-rtl/engines/cine/cine.cpp
scummvm/branches/gsoc2008-rtl/engines/cine/pal.h
Modified: scummvm/branches/gsoc2008-rtl/engines/cine/cine.cpp
===================================================================
--- scummvm/branches/gsoc2008-rtl/engines/cine/cine.cpp 2008-06-12 18:33:34 UTC (rev 32676)
+++ scummvm/branches/gsoc2008-rtl/engines/cine/cine.cpp 2008-06-12 18:52:43 UTC (rev 32677)
@@ -70,6 +70,7 @@
}
Common::clearAllSpecialDebugLevels();
+ free(palPtr);
free(partBuffer);
free(textDataPtr);
}
Modified: scummvm/branches/gsoc2008-rtl/engines/cine/pal.h
===================================================================
--- scummvm/branches/gsoc2008-rtl/engines/cine/pal.h 2008-06-12 18:33:34 UTC (rev 32676)
+++ scummvm/branches/gsoc2008-rtl/engines/cine/pal.h 2008-06-12 18:52:43 UTC (rev 32677)
@@ -34,6 +34,8 @@
byte pal2[16];
};
+extern PalEntry *palPtr;
+
void loadPal(const char *fileName);
void loadRelatedPalette(const char *fileName);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list