From 6825f30b665952864dbe35fe8329a0e4c264d4b8 Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 10 Jan 2007 17:31:08 +0000 Subject: All of the files included have instances where an array is new'ed but the corresponding delete does not have the corresponding [] argument. --- (limited to 'noncore/games') diff --git a/noncore/games/sfcave/sfcave.cpp b/noncore/games/sfcave/sfcave.cpp index a6c92a0..516dc93 100644 --- a/noncore/games/sfcave/sfcave.cpp +++ b/noncore/games/sfcave/sfcave.cpp @@ -998,7 +998,7 @@ void SFCave :: loadReplay() replayList.append( new int( v ) ); } - delete data; + delete [] data; fclose( in ); -- cgit v0.9.0.2