From 95461c91616eda80b33cfec3597f8c3243748a89 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 19 Feb 2015 15:46:34 +0200 Subject: LAB: Remove the journalCleanUp() wrapper --- engines/lab/special.cpp | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'engines/lab/special.cpp') diff --git a/engines/lab/special.cpp b/engines/lab/special.cpp index 495fe455c4..3909d974b0 100644 --- a/engines/lab/special.cpp +++ b/engines/lab/special.cpp @@ -887,17 +887,6 @@ static void processJournal() { -/*****************************************************************************/ -/* Cleans up behind all memory allocations. */ -/*****************************************************************************/ -static void journalCleanUp(void) { - freeAllStolenMem(); -} - - - - - /*****************************************************************************/ /* Does the journal processing. */ /*****************************************************************************/ @@ -936,7 +925,7 @@ void doJournal() { rectFill(0, 0, VGAScreenWidth - 1, VGAScreenHeight - 1); blackScreen(); - journalCleanUp(); + freeAllStolenMem(); ungetVGABaseAddr(); } @@ -1002,8 +991,6 @@ bool saveRestoreGame(void) { blackScreen(); WSDL_UpdateScreen(); - journalCleanUp(); - freeAllStolenMem(); return true; -- cgit v1.2.3