Fix leak in QgsLegendSymbolItemV2

This commit is contained in:
Nyall Dawson 2015-08-25 16:42:19 +10:00
parent 3621beec24
commit 7901ce2681

View File

@ -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;