From 165cbd180cb3c88faa1350435f4b8b6f92ffe097 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 10 Feb 2017 21:36:06 +0100 Subject: DIRECTOR: Lingo: Avoid deleting counter in 'repeat..with' statement --- engines/director/lingo/lingo-code.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'engines/director/lingo') diff --git a/engines/director/lingo/lingo-code.cpp b/engines/director/lingo/lingo-code.cpp index 7ab69c025d..b79e51dcde 100644 --- a/engines/director/lingo/lingo-code.cpp +++ b/engines/director/lingo/lingo-code.cpp @@ -887,8 +887,6 @@ void Lingo::c_repeatwithcode(void) { if (!g_lingo->_returning) g_lingo->_pc = end; /* next stmt */ - - delete counter; } void Lingo::c_exitRepeat(void) { -- cgit v1.2.3