-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
openssl: fix leak when calling relocation related functions multiple times #11555
Conversation
This isn't thread safe, but I guess it is OK to leak one more string if there is a race (??).. otherwise we'd have to do locking somehow. |
Thanks for the quick fix! But it seems that memory leak still exists:
It seems that MINGW-packages/mingw-w64-openssl/openssl-1.1.1-relocation.patch Lines 38 to 41 in d3d5a79
|
ah, right, another leak.. thanks |
@lazka I've created a patch to fix remaining leaks. Could you merge it to your pull request? |
Sorry for the delay. I'll incorporate your changes shortly. |
…times Instead of relocating every time the getters are called, relocate only on the first call for each path. Fixes msys2#11552
It's a follow up fix for 9cccd9c
Thanks! |
Instead of relocating every time the getters are called,
relocate only on the first call for each path.
Fixes #11552