We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d70e1a commit a2ccc1dCopy full SHA for a2ccc1d
src/MongoDB/Session.c
@@ -485,8 +485,9 @@ static PHP_METHOD(Session, commitTransaction)
485
486
if (!mongoc_client_session_commit_transaction(intern->client_session, &reply, &error)) {
487
phongo_throw_exception_from_bson_error_t_and_reply(&error, &reply);
488
- bson_destroy(&reply);
489
}
+
490
+ bson_destroy(&reply);
491
} /* }}} */
492
493
/* {{{ proto void MongoDB\Driver\Session::abortTransaction(void)
0 commit comments