Do not delete a symbol we don't own

Fix #32661
This commit is contained in:
Matthias Kuhn 2019-11-05 23:23:47 +01:00 committed by Nyall Dawson
parent 5ee5e37a94
commit ec5af34bc2

View File

@ -350,7 +350,6 @@ QgsRuleBasedLabeling::Rule::RegisterResult QgsRuleBasedLabeling::Rule::registerF
if ( !isFilterOK( feature, context )
|| !isScaleOK( context.rendererScale() ) )
{
delete symbol;
return Filtered;
}