Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix Coverity null pointer dereference error
  • Loading branch information
nyalldawson committed Mar 21, 2017
1 parent 51c1d67 commit ce6783a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -4665,8 +4665,8 @@ QGISEXTERN bool deleteStyleById( const QString &uri, QString styleId, QString &e
{
deleted = true;
}
conn->unref();
}
conn->unref();
return deleted;
}

Expand Down

0 comments on commit ce6783a

Please sign in to comment.