From 4706a8486eacb5a189e2e5d4e478c499f0f31039 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sun, 10 Sep 2017 22:01:47 -0500 Subject: GRAPHICS: Remove dead code in BDF loadCharacter code --- graphics/fonts/bdf.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/graphics/fonts/bdf.cpp b/graphics/fonts/bdf.cpp index 511ea5cde1..00e98316d6 100644 --- a/graphics/fonts/bdf.cpp +++ b/graphics/fonts/bdf.cpp @@ -275,9 +275,6 @@ byte *loadCharacter(Common::SeekableReadStream &stream, int &encoding, int &adva return bitmap; } } - - delete[] bitmap; - return 0; } void freeBitmaps(byte **bitmaps, int size) { -- cgit v1.2.3