Skip to content
Permalink
Browse files

Fix leak in renderer properties dialog

  • Loading branch information
nyalldawson committed Aug 26, 2015
1 parent 00405c7 commit 2b478af6038cf2474aee504f33c02de3d727e812
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/symbology-ng/qgsrendererv2propertiesdialog.cpp
@@ -185,6 +185,7 @@ void QgsRendererV2PropertiesDialog::rendererChanged()
QgsRendererV2AbstractMetadata* m = QgsRendererV2Registry::instance()->rendererMetadata( rendererName );
if ( m != NULL )
w = m->createRendererWidget( mLayer, mStyle, oldRenderer );
delete oldRenderer;

if ( w != NULL )
{

0 comments on commit 2b478af

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