mirror of
https://git.wownero.com/wownero/wownero-puddle.git
synced 2024-08-15 01:03:20 +00:00
add missing free when no payments
This commit is contained in:
parent
f8b6245a39
commit
feeb159d62
1 changed files with 2 additions and 0 deletions
|
@ -853,6 +853,8 @@ send_payments()
|
||||||
callback->cb = rpc_on_wallet_transferred;
|
callback->cb = rpc_on_wallet_transferred;
|
||||||
rpc_wallet_request(base, body, callback);
|
rpc_wallet_request(base, body, callback);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
free(payments);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue