Fix memory leaks

This commit is contained in:
Nyall Dawson 2015-02-16 16:09:37 +11:00
parent c9c15afaa2
commit f6d0e70814
2 changed files with 2 additions and 0 deletions

View File

@ -474,6 +474,7 @@ void QgsGml::endElement( const XML_Char* el )
else
{
QgsDebugMsg( "no wkb fragments" );
delete [] wkb;
}
}
}

View File

@ -78,6 +78,7 @@ void dxf2shpConverterGui::on_buttonBox_accepted()
{
// if file open failed
QgsDebugMsg( "Aborting: The input file could not be opened." );
delete dxf_inserts;
return;
}