mirror of https://github.com/citusdata/citus.git
Merge pull request #2413 from citusdata/fix_memory_leak_minimal
Fix memory leak in FinishRemoteTransactionPreparepull/2410/head
commit
0aa9988ae9
|
@ -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