Cleanup some memory leaks
This commit is contained in:
parent
6672efdf2c
commit
476558ece7
|
@ -867,6 +867,7 @@ void DIALOG_PLOT::Plot( wxCommandEvent& event )
|
|||
{
|
||||
PlotOneBoardLayer( board, plotter, layer, m_plotOpts );
|
||||
plotter->EndPlot();
|
||||
delete plotter->RenderSettings();
|
||||
delete plotter;
|
||||
|
||||
msg.Printf( _( "Plot file \"%s\" created." ), fn.GetFullPath() );
|
||||
|
|
|
@ -84,6 +84,7 @@ PANEL_PCBNEW_COLOR_SETTINGS::PANEL_PCBNEW_COLOR_SETTINGS( PCB_EDIT_FRAME* aFrame
|
|||
|
||||
PANEL_PCBNEW_COLOR_SETTINGS::~PANEL_PCBNEW_COLOR_SETTINGS()
|
||||
{
|
||||
delete m_currentSettings;
|
||||
delete m_page;
|
||||
delete m_titleBlock;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue