summaryrefslogtreecommitdiff
path: root/plugins/Import/src/wizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Import/src/wizard.cpp')
-rw-r--r--plugins/Import/src/wizard.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Import/src/wizard.cpp b/plugins/Import/src/wizard.cpp
index 5ca204bd72..6caa05ac4c 100644
--- a/plugins/Import/src/wizard.cpp
+++ b/plugins/Import/src/wizard.cpp
@@ -28,7 +28,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
CIntroPageDlg::CIntroPageDlg() :
CWizardPageDlg(IDD_WIZARDINTRO)
{
- g_pActivePattern = nullptr;
}
bool CIntroPageDlg::OnInitDialog()
@@ -159,6 +158,8 @@ public:
void OnDestroy() override
{
g_hwndWizard = nullptr;
+ delete g_pBatch; g_pBatch = nullptr;
+
if (g_bSendQuit)
PostQuitMessage(0);
}