diff options
author | Eugene Sandulenko | 2019-12-01 16:26:25 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-12-01 16:29:54 +0100 |
commit | 3a7a3e20092cbcef0b9a2bdda9960aa93958e7a9 (patch) | |
tree | 78dbf266e406a12271d1ccff6902961f54901ecb /graphics/macgui | |
parent | 4fbcc337af97560fdd648a28a6e4e7586f419684 (diff) | |
download | scummvm-rg350-3a7a3e20092cbcef0b9a2bdda9960aa93958e7a9.tar.gz scummvm-rg350-3a7a3e20092cbcef0b9a2bdda9960aa93958e7a9.tar.bz2 scummvm-rg350-3a7a3e20092cbcef0b9a2bdda9960aa93958e7a9.zip |
GRAPHICS: MACGUI: Fix crash on MacText reallocation
Diffstat (limited to 'graphics/macgui')
-rw-r--r-- | graphics/macgui/mactext.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp index 1c80e55358..bc7ebe6173 100644 --- a/graphics/macgui/mactext.cpp +++ b/graphics/macgui/mactext.cpp @@ -49,7 +49,6 @@ const Common::String MacFontRun::toString() { MacText::~MacText() { delete _surface; - delete _macFont; } MacText::MacText(Common::U32String s, MacWindowManager *wm, const MacFont *macFont, int fgcolor, int bgcolor, int maxWidth, TextAlign textAlignment, int interlinear) { |