mirror of
https://github.com/XRPLF/clio.git
synced 2026-04-29 15:37:53 +00:00
Fix memory errors (#108)
* frees getUint64Tuple tuple iterator * explicitly create strand in synchronous()
This commit is contained in:
@@ -237,7 +237,7 @@ SubscriptionManager::pubTransaction(
|
||||
{
|
||||
ripple::STAmount ownerFunds;
|
||||
auto fetchFundsSynchronous = [&]() {
|
||||
Backend::synchronous([&](boost::asio::yield_context yield) {
|
||||
Backend::synchronous([&](boost::asio::yield_context& yield) {
|
||||
ownerFunds = RPC::accountFunds(
|
||||
*backend_, lgrInfo.seq, amount, account, yield);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user