Fix leaked future in mako

This commit is contained in:
Andrew Noyes 2020-10-09 18:40:05 +00:00
parent d3b57d9873
commit c6c94e23ca
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}