From a69e09af6ff7186935681e5202535d14163c4439 Mon Sep 17 00:00:00 2001 From: dfighter1985 Date: Tue, 2 Sep 2014 22:47:18 +0200 Subject: [PATCH] Delete DFN when destroying a DFN editor... --HG-- branch : dfighter-tools --- code/studio/src/plugins/georges_editor/georges_dfn_dialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/studio/src/plugins/georges_editor/georges_dfn_dialog.cpp b/code/studio/src/plugins/georges_editor/georges_dfn_dialog.cpp index 56043b958..0638f18b9 100644 --- a/code/studio/src/plugins/georges_editor/georges_dfn_dialog.cpp +++ b/code/studio/src/plugins/georges_editor/georges_dfn_dialog.cpp @@ -22,6 +22,8 @@ public: { delete ctrl; ctrl = NULL; + delete dfn; + dfn = NULL; } NLGEORGES::CFormDfn *dfn;