Fix leaked future in mako
This commit is contained in:
parent
d3b57d9873
commit
c6c94e23ca
|
@ -96,6 +96,7 @@ int commit_transaction(FDBTransaction* transaction) {
|
|||
|
||||
f = fdb_transaction_commit(transaction);
|
||||
fdb_wait_and_handle_error(commit_transaction, f, transaction);
|
||||
fdb_future_destroy(f);
|
||||
|
||||
return FDB_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue