From 76f21d950d2b1fd06897408c6374022bd7d8b4a0 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sat, 8 Jan 2022 17:32:17 -0500 Subject: [PATCH] Ensure LIB_TREE cleans up while frame still exists Fixes https://gitlab.com/kicad/code/kicad/-/issues/10266 --- pcbnew/footprint_edit_frame.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/footprint_edit_frame.cpp b/pcbnew/footprint_edit_frame.cpp index 859b884e1c..654b3887d2 100644 --- a/pcbnew/footprint_edit_frame.cpp +++ b/pcbnew/footprint_edit_frame.cpp @@ -324,6 +324,7 @@ FOOTPRINT_EDIT_FRAME::~FOOTPRINT_EDIT_FRAME() delete m_selectionFilterPanel; delete m_appearancePanel; + delete m_treePane; }