diff options
Diffstat (limited to 'src/gui/setup_theme.cpp')
-rw-r--r-- | src/gui/setup_theme.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/setup_theme.cpp b/src/gui/setup_theme.cpp index f46202eb7..f0ae897d2 100644 --- a/src/gui/setup_theme.cpp +++ b/src/gui/setup_theme.cpp @@ -384,10 +384,15 @@ Setup_Theme::~Setup_Theme() delete mLangListModel; mLangListModel = nullptr; + + delete mInfo; + mInfo = nullptr; + } void Setup_Theme::updateInfo() { + delete mInfo; mInfo = Theme::loadInfo(mTheme); if (mInfo) { |