Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix leak in QgsLegendSymbolItemV2
  • Loading branch information
nyalldawson committed Aug 25, 2015
1 parent 3621bee commit 7901ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgslegendsymbolitemv2.cpp
Expand Up @@ -57,7 +57,7 @@ QgsLegendSymbolItemV2& QgsLegendSymbolItemV2::operator=( const QgsLegendSymbolIt
if ( this == &other )
return *this;

setSymbol( other.mSymbol ? other.mSymbol->clone() : 0 );
setSymbol( other.mSymbol );
mLabel = other.mLabel;
mKey = other.mKey;
mCheckable = other.mCheckable;
Expand Down

0 comments on commit 7901ce2

Please sign in to comment.