diff --git a/pcbnew/eagle_plugin.cpp b/pcbnew/eagle_plugin.cpp index f905404074..032002044a 100644 --- a/pcbnew/eagle_plugin.cpp +++ b/pcbnew/eagle_plugin.cpp @@ -272,7 +272,7 @@ void EAGLE_PLUGIN::init( const PROPERTIES* aProperties ) m_min_via_hole = 0; m_xpath->clear(); m_pads_to_nets.clear(); - deleteTemplates(); + m_templates.clear(); m_board = NULL; m_props = aProperties;