Skip to content

Commit

Permalink
Followup 1c1e771, fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 26, 2017
1 parent ecf43d3 commit 005d0fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/qgsdiagramrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ QList< QgsLayerTreeModelLegendNode * > QgsLinearlyInterpolatedDiagramRenderer::l

void QgsLinearlyInterpolatedDiagramRenderer::setDataDefinedSizeLegend( QgsDataDefinedSizeLegend *settings )
{
delete settings;
delete mDataDefinedSizeLegendSettings;
mDataDefinedSizeLegend = settings;
}

Expand Down
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgslegendsymbolitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ void QgsLegendSymbolItem::setSymbol( QgsSymbol *s )

void QgsLegendSymbolItem::setDataDefinedSizeLegendSettings( QgsDataDefinedSizeLegend *settings )
{
delete settings;
delete mDataDefinedSizeLegendSettings;
mDataDefinedSizeLegendSettings = settings;
}

Expand Down

0 comments on commit 005d0fa

Please sign in to comment.