Skip to content
Permalink
Browse files

fix leak when using global expression context scope

  • Loading branch information
alexbruy committed Jan 10, 2017
1 parent 48bcca6 commit e01c476e40927ddd45dd44957370836bf29c77d2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgshelp.cpp
@@ -44,7 +44,7 @@ QUrl QgsHelp::helpUrl( const QString& key )
return helpNotFound;
}

QgsExpressionContextScope *scope = QgsExpressionContextUtils::globalScope();
QScopedPointer<QgsExpressionContextScope> scope( QgsExpressionContextUtils::globalScope() );

QUrl helpUrl;
QString helpPath, fullPath;

0 comments on commit e01c476

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