Skip to content

Commit

Permalink
Update c/driver/postgresql/error.cc
Browse files Browse the repository at this point in the history
Co-authored-by: David Li <[email protected]>
  • Loading branch information
paleolimbot and lidavidm authored Sep 25, 2024
1 parent 52d59c8 commit 69e9287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/driver/postgresql/error.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace adbcpq {

AdbcStatusCode SetError(struct AdbcError* error, PGresult* result, const char* format,
...) {
if (!error && error->release) {
if (error && error->release) {
// TODO: combine the errors if possible
error->release(error);
}
Expand Down

0 comments on commit 69e9287

Please sign in to comment.