Skip to content
Permalink
Browse files
Fix Coverity null pointer dereference error
  • Loading branch information
nyalldawson committed Mar 21, 2017
1 parent 51c1d67 commit ce6783a34b3911bc1a59a29160fe0ff6bd1ba2da
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresprovider.cpp
@@ -4665,8 +4665,8 @@ QGISEXTERN bool deleteStyleById( const QString &uri, QString styleId, QString &e
{
deleted = true;
}
conn->unref();
}
conn->unref();
return deleted;
}

0 comments on commit ce6783a

Please sign in to comment.