From 0c37fcebe80b5abcca6e9bd5508d7144ae8f1753 Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Tue, 7 Feb 2012 11:36:24 -0600 Subject: [PATCH] fix --- cvpcb/class_DisplayFootprintsFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cvpcb/class_DisplayFootprintsFrame.cpp b/cvpcb/class_DisplayFootprintsFrame.cpp index e1570b7e1f..c1aa659cb5 100644 --- a/cvpcb/class_DisplayFootprintsFrame.cpp +++ b/cvpcb/class_DisplayFootprintsFrame.cpp @@ -145,13 +145,13 @@ DISPLAY_FOOTPRINTS_FRAME::DISPLAY_FOOTPRINTS_FRAME( CVPCB_MAINFRAME* father, DISPLAY_FOOTPRINTS_FRAME::~DISPLAY_FOOTPRINTS_FRAME() { - delete GetBoard(); delete GetScreen(); SetScreen( NULL ); ( (CVPCB_MAINFRAME*) wxGetApp().GetTopWindow() )->m_DisplayFootprintFrame = NULL; } + /* Called when the frame is closed * Save current settings (frame position and size */