mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-02-02 19:26:27 +00:00
fix memory leak!
This commit is contained in:
parent
d383f3e1a6
commit
8818adcc95
1 changed files with 4 additions and 0 deletions
|
@ -201,6 +201,10 @@ bool setupNodeSync(
|
|||
calloc.free(passwordPointer);
|
||||
}
|
||||
|
||||
if (socksProxyAddressPointer != null) {
|
||||
calloc.free(socksProxyAddressPointer);
|
||||
}
|
||||
|
||||
if (!isSetupNode) {
|
||||
throw SetupWalletException(
|
||||
message: convertUTF8ToString(pointer: errorMessagePointer));
|
||||
|
|
Loading…
Reference in a new issue