From 1c011e568a951036c16d12878bba141e96983c57 Mon Sep 17 00:00:00 2001 From: "wrenczes@gmail.com" Date: Tue, 11 Jan 2011 09:12:56 +0000 Subject: [PATCH] Missed checking this file in along with the other leak fixes from Ittobaal. --- projects/mtg/src/WFont.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/mtg/src/WFont.cpp b/projects/mtg/src/WFont.cpp index 553f38ae7..f234cef17 100644 --- a/projects/mtg/src/WFont.cpp +++ b/projects/mtg/src/WFont.cpp @@ -225,8 +225,8 @@ WFBFont::WFBFont(int inFontID, const char *fontname, int lineheight, bool useVid WFBFont::~WFBFont() { - SAFE_DELETE(mStdFont); - SAFE_DELETE(mExtraFont); + SAFE_DELETE_ARRAY(mStdFont); + SAFE_DELETE_ARRAY(mExtraFont); SAFE_DELETE(mTexture); if (mSprites)