Skip to content

Commit f6d0e70

Browse files
committed
Fix memory leaks
1 parent c9c15af commit f6d0e70

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/core/qgsgml.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,7 @@ void QgsGml::endElement( const XML_Char* el )
474474
else
475475
{
476476
QgsDebugMsg( "no wkb fragments" );
477+
delete [] wkb;
477478
}
478479
}
479480
}

src/plugins/dxf2shp_converter/dxf2shpconvertergui.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ void dxf2shpConverterGui::on_buttonBox_accepted()
7878
{
7979
// if file open failed
8080
QgsDebugMsg( "Aborting: The input file could not be opened." );
81+
delete dxf_inserts;
8182
return;
8283
}
8384

0 commit comments

Comments
 (0)