Skip to content
Permalink
Browse files

Fix leak in QgsLegendSymbolItemV2

  • Loading branch information
nyalldawson committed Aug 25, 2015
1 parent 3621bee commit 7901ce26816944b88c80e5252848a5ae1ec260a3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology-ng/qgslegendsymbolitemv2.cpp
@@ -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;

0 comments on commit 7901ce2

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