Skip to content

Commit a0f6a2b

Browse files
committedMar 12, 2018
Fix leak in QgsVectorFileWriter metadata
Not a serious leak (since it only occurs once per application), but causes HEAPS of valgrind noise
1 parent 4af5ff5 commit a0f6a2b

File tree

2 files changed

+1212
-1189
lines changed

2 files changed

+1212
-1189
lines changed
 

‎src/core/qgsvectorfilewriter.cpp

Lines changed: 1212 additions & 1188 deletions
Large diffs are not rendered by default.

‎src/core/qgsvectorfilewriter.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,6 @@ class CORE_EXPORT QgsVectorFileWriter : public QgsFeatureSink
743743

744744
bool mUsingTransaction = false;
745745

746-
static QMap<QString, MetaData> initMetaData();
747746
void createSymbolLayerTable( QgsVectorLayer *vl, const QgsCoordinateTransform &ct, OGRDataSourceH ds );
748747
gdal::ogr_feature_unique_ptr createFeature( const QgsFeature &feature );
749748
bool writeFeature( OGRLayerH layer, OGRFeatureH feature );

0 commit comments

Comments
 (0)
Please sign in to comment.