Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix leak in renderer properties dialog
  • Loading branch information
nyalldawson committed Aug 26, 2015
1 parent 00405c7 commit 2b478af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/symbology-ng/qgsrendererv2propertiesdialog.cpp
Expand Up @@ -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 )
{
Expand Down

0 comments on commit 2b478af

Please sign in to comment.