Skip to content

Commit

Permalink
Fix leak in expression builder
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 26, 2015
1 parent 46abe34 commit 02cd767
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/qgsexpressionbuilderwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ QgsExpressionBuilderWidget::~QgsExpressionBuilderWidget()
QSettings settings;
settings.setValue( "/windows/QgsExpressionBuilderWidget/splitter", splitter->saveState() );
settings.setValue( "/windows/QgsExpressionBuilderWidget/functionsplitter", functionsplit->saveState() );

delete mModel;
delete mProxyModel;
}

void QgsExpressionBuilderWidget::setLayer( QgsVectorLayer *layer )
Expand Down

0 comments on commit 02cd767

Please sign in to comment.