Fix some Coverity identified issues.
This commit is contained in:
parent
3ab9db6ff1
commit
91d1508c16
|
@ -28,8 +28,9 @@
|
|||
#include <eda_draw_frame.h>
|
||||
|
||||
|
||||
PICKER_TOOL::PICKER_TOOL()
|
||||
: TOOL_INTERACTIVE( "common.InteractivePicker" )
|
||||
PICKER_TOOL::PICKER_TOOL() :
|
||||
TOOL_INTERACTIVE( "common.InteractivePicker" ),
|
||||
m_frame( nullptr )
|
||||
{
|
||||
resetPicker();
|
||||
}
|
||||
|
|
|
@ -37,7 +37,8 @@
|
|||
|
||||
|
||||
GLOBAL_EDIT_TOOL::GLOBAL_EDIT_TOOL() :
|
||||
PCB_TOOL_BASE( "pcbnew.GlobalEdit" )
|
||||
PCB_TOOL_BASE( "pcbnew.GlobalEdit" ),
|
||||
m_selectionTool( nullptr )
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -6425,10 +6425,10 @@ void DL_Dxf::test()
|
|||
stripWhiteSpace( &buf6 );
|
||||
std::cout << "2 buf6: '" << buf6 << "'\n";
|
||||
|
||||
delete( buf1 );
|
||||
delete( buf2 );
|
||||
delete( buf3 );
|
||||
delete( buf4 );
|
||||
delete( buf5 );
|
||||
delete( buf6 );
|
||||
delete[] buf1;
|
||||
delete[] buf2;
|
||||
delete[] buf3;
|
||||
delete[] buf4;
|
||||
delete[] buf5;
|
||||
delete[] buf6;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue