-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[KMP] Memory leak found in PublicKey #4096
Labels
bug
Something isn't working
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I found a memory leak in PublicKey within the Kotlin package of Wallet Core.
To Reproduce
The following code can trigger a memory leak:
Expected behavior
No memory leak.
Screenshots
![kmp-memory-leak-public-key](https://private-user-images.githubusercontent.com/2391796/383142110-cdbc8b06-dda5-448c-8833-252f6134bce0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTkwNTEsIm5iZiI6MTczOTU1ODc1MSwicGF0aCI6Ii8yMzkxNzk2LzM4MzE0MjExMC1jZGJjOGIwNi1kZGE1LTQ0OGMtODgzMy0yNTJmNjEzNGJjZTAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTRUMTg0NTUxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODY1Yjc1NzY4ZjFkODIxMWI5NGNhNjc0NGMxNzhlNDNjMGZlYTY0NDVmNWMwZjY5MjlkMTBlNDE5YmUyN2NkZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.0-76fQmbPLYLujboDI8e-CrtOlozxJ57W1IAGA6f-PA)
Memory Profiler Screenshot:
Additional context
The text was updated successfully, but these errors were encountered: