Skip to content
Permalink
Browse files

Fix leak in postgres provider loadStyle

(cherry-picked from b92079)
  • Loading branch information
nyalldawson committed Feb 26, 2018
1 parent d6cf2e5 commit 19aebf80c512d958670ac8e8fa8d5ba49a349dec
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/providers/postgres/qgspostgresprovider.cpp
@@ -4726,6 +4726,7 @@ QGISEXTERN QString loadStyle( const QString &uri, QString &errCause )

if ( !tableExists( *conn, QStringLiteral( "layer_styles" ) ) )
{
conn->unref();
return QLatin1String( "" );
}

0 comments on commit 19aebf8

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