Skip to content
Permalink
Browse files

Fix leak in diagrams

  • Loading branch information
nyalldawson committed Aug 31, 2015
1 parent 8f601be commit 075c50ded8445aca9b386509d90aca3bfcb6a9c0
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsvectorlayer.cpp
@@ -1692,6 +1692,7 @@ bool QgsVectorLayer::readSymbology( const QDomNode& node, QString& errorMessage
QDomElement diagramSettingsElem = node.firstChildElement( "DiagramLayerSettings" );
if ( !diagramSettingsElem.isNull() )
{
delete mDiagramLayerSettings;
mDiagramLayerSettings = new QgsDiagramLayerSettings();
mDiagramLayerSettings->readXML( diagramSettingsElem, this );
}

0 comments on commit 075c50d

Please sign in to comment.
You can’t perform that action at this time.