Skip to content
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

free Ptr{Cstring} when we need to. #77

Open
visr opened this issue Aug 28, 2019 · 0 comments
Open

free Ptr{Cstring} when we need to. #77

visr opened this issue Aug 28, 2019 · 0 comments

Comments

@visr
Copy link
Member

visr commented Aug 28, 2019

Came up in #75 (comment).
We currently never free the memory, resulting in a (probably small) memory leak.

In aftercare(::Ptr{Cstring}) we should free this at least in the case of CPLGetConfigOptions, but we should probably review all functions that return Ptr{Cstring}

See also 259a27c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant