diff --git a/src/gui/osd_setup.cpp b/src/gui/osd_setup.cpp index d66e92d80..4c7b70c31 100644 --- a/src/gui/osd_setup.cpp +++ b/src/gui/osd_setup.cpp @@ -70,6 +70,8 @@ COsdSetup::COsdSetup(bool wizard_mode) fontsizenotifier = new CFontSizeNotifier; osd_menu = NULL; submenu_menus = NULL; + mfFontFile = NULL; + mfTtxFontFile = NULL; is_wizard = wizard_mode; @@ -82,8 +84,6 @@ COsdSetup::~COsdSetup() { delete colorSetupNotifier; delete fontsizenotifier; - delete mfFontFile; - delete mfTtxFontFile; } //font settings