From f63cf64bcfdee798b2fcf58ee43fbcfb8a8d78f7 Mon Sep 17 00:00:00 2001 From: Ingo Date: Tue, 18 Mar 2014 23:01:18 +0100 Subject: [PATCH] Fixed another case of uninitialised memory, no Issue --- rtgui/editorpanel.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rtgui/editorpanel.cc b/rtgui/editorpanel.cc index 6a0e6ba82..303c82490 100755 --- a/rtgui/editorpanel.cc +++ b/rtgui/editorpanel.cc @@ -32,7 +32,7 @@ using namespace rtengine::procparams; EditorPanel::EditorPanel (FilePanel* filePanel) - : beforePreviewHandler(NULL), beforeIarea(NULL), parent(NULL), ipc(NULL), beforeIpc(NULL), isProcessing(false), catalogPane(NULL), iHistoryShow(NULL), iHistoryHide(NULL), iBeforeLockON(NULL),iBeforeLockOFF(NULL), iRightPanel_1_Show(NULL), iRightPanel_1_Hide(NULL) { + : beforePreviewHandler(NULL), beforeIarea(NULL), parent(NULL), ipc(NULL), beforeIpc(NULL), isProcessing(false), catalogPane(NULL), iHistoryShow(NULL), iHistoryHide(NULL), iBeforeLockON(NULL),iBeforeLockOFF(NULL), iRightPanel_1_Show(NULL), iRightPanel_1_Hide(NULL), iTopPanel_1_Show(NULL), iTopPanel_1_Hide(NULL) { epih = new EditorPanelIdleHelper; epih->epanel = this; @@ -374,8 +374,8 @@ EditorPanel::~EditorPanel () { if(catalogPane) delete catalogPane; - if (!iTopPanel_1_Show) delete iTopPanel_1_Show; - if (!iTopPanel_1_Hide) delete iTopPanel_1_Hide; + if (iTopPanel_1_Show) delete iTopPanel_1_Show; + if (iTopPanel_1_Hide) delete iTopPanel_1_Hide; if (iHistoryShow) delete iHistoryShow; if (iHistoryHide)