Dxf: Fix leaks in DL_Dxf::test
This function is never actually used, but the resource leaks set off static analysers. Fixes: coverity:131460-131465
This commit is contained in:
parent
96d06929ea
commit
31c217426f
|
@ -6392,4 +6392,11 @@ void DL_Dxf::test()
|
|||
std::cout << "1 buf6: '" << buf6 << "'\n";
|
||||
stripWhiteSpace( &buf6 );
|
||||
std::cout << "2 buf6: '" << buf6 << "'\n";
|
||||
|
||||
delete( buf1 );
|
||||
delete( buf2 );
|
||||
delete( buf3 );
|
||||
delete( buf4 );
|
||||
delete( buf5 );
|
||||
delete( buf6 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue