diff --git a/stella/src/cheat/CheatCodeDialog.cxx b/stella/src/cheat/CheatCodeDialog.cxx index 50d6923f1..35f292a3b 100644 --- a/stella/src/cheat/CheatCodeDialog.cxx +++ b/stella/src/cheat/CheatCodeDialog.cxx @@ -13,7 +13,7 @@ // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. // -// $Id: CheatCodeDialog.cxx,v 1.25 2009-01-04 22:27:43 stephena Exp $ +// $Id: CheatCodeDialog.cxx,v 1.26 2009-01-11 15:01:36 stephena Exp $ // // Based on code from ScummVM - Scumm Interpreter // Copyright (C) 2002-2004 The ScummVM project @@ -102,6 +102,7 @@ CheatCodeDialog::CheatCodeDialog(OSystem* osystem, DialogContainer* parent, // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CheatCodeDialog::~CheatCodeDialog() { + delete myCheatInput; } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/stella/src/debugger/gui/RamWidget.cxx b/stella/src/debugger/gui/RamWidget.cxx index 6569991a7..eeb14d763 100644 --- a/stella/src/debugger/gui/RamWidget.cxx +++ b/stella/src/debugger/gui/RamWidget.cxx @@ -13,7 +13,7 @@ // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. // -// $Id: RamWidget.cxx,v 1.21 2009-01-01 18:13:35 stephena Exp $ +// $Id: RamWidget.cxx,v 1.22 2009-01-11 15:01:36 stephena Exp $ // // Based on code from ScummVM - Scumm Interpreter // Copyright (C) 2002-2004 The ScummVM project @@ -142,6 +142,7 @@ RamWidget::RamWidget(GuiObject* boss, const GUI::Font& font, int x, int y) // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - RamWidget::~RamWidget() { + delete myInputBox; } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/stella/src/debugger/gui/RomWidget.cxx b/stella/src/debugger/gui/RomWidget.cxx index baf02018b..475967280 100644 --- a/stella/src/debugger/gui/RomWidget.cxx +++ b/stella/src/debugger/gui/RomWidget.cxx @@ -13,7 +13,7 @@ // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. // -// $Id: RomWidget.cxx,v 1.28 2009-01-01 18:13:35 stephena Exp $ +// $Id: RomWidget.cxx,v 1.29 2009-01-11 15:01:36 stephena Exp $ // // Based on code from ScummVM - Scumm Interpreter // Copyright (C) 2002-2004 The ScummVM project @@ -105,6 +105,8 @@ RomWidget::~RomWidget() { myAddrList.clear(); myLineList.clear(); + + delete mySaveRom; } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/stella/src/emucore/OSystem.cxx b/stella/src/emucore/OSystem.cxx index 4153348bc..fbe999757 100644 --- a/stella/src/emucore/OSystem.cxx +++ b/stella/src/emucore/OSystem.cxx @@ -13,7 +13,7 @@ // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. // -// $Id: OSystem.cxx,v 1.143 2009-01-05 19:44:29 stephena Exp $ +// $Id: OSystem.cxx,v 1.144 2009-01-11 15:01:36 stephena Exp $ //============================================================================ #include @@ -142,7 +142,9 @@ OSystem::~OSystem() delete myCommandMenu; delete myLauncher; delete myFont; + delete mySmallFont; delete myConsoleFont; + delete myLauncherFont; // Remove any game console that is currently attached deleteConsole(); diff --git a/stella/src/emucore/TIA.cxx b/stella/src/emucore/TIA.cxx index 7b1275eac..8076049d7 100644 --- a/stella/src/emucore/TIA.cxx +++ b/stella/src/emucore/TIA.cxx @@ -13,7 +13,7 @@ // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. // -// $Id: TIA.cxx,v 1.96 2009-01-03 15:44:13 stephena Exp $ +// $Id: TIA.cxx,v 1.97 2009-01-11 15:01:36 stephena Exp $ //============================================================================ //#define DEBUG_HMOVE @@ -43,6 +43,7 @@ TIA::TIA(Console& console, Settings& settings) mySettings(settings), mySound(NULL), myColorLossEnabled(false), + myPartialFrameFlag(false), myMaximumNumberOfScanlines(262), myCOLUBK(myColor[0]), myCOLUPF(myColor[1]),