mirror of https://github.com/citusdata/citus.git
Fix memory leak in FinishRemoteTransactionPrepare
parent
6c389497ab
commit
653c7e4ae0
|
@ -528,6 +528,8 @@ FinishRemoteTransactionPrepare(struct MultiConnection *connection)
|
|||
transaction->transactionState = REMOTE_TRANS_PREPARED;
|
||||
}
|
||||
|
||||
PQclear(result);
|
||||
|
||||
/*
|
||||
* Try to consume results of PREPARE TRANSACTION command. If we don't
|
||||
* succeed, rollback the transaction. Note that we've not committed on
|
||||
|
|
Loading…
Reference in New Issue