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:
John Beard 2018-09-28 18:21:20 +01:00 committed by Wayne Stambaugh
parent 96d06929ea
commit 31c217426f
1 changed files with 7 additions and 0 deletions

View File

@ -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 );
}