Skip to content
Permalink
Browse files
Fix leak in postgres provider loadStyle
  • Loading branch information
nyalldawson committed Feb 26, 2018
1 parent 8ce519d commit b920799
Showing 1 changed file with 1 addition and 0 deletions.
@@ -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 b920799

Please sign in to comment.