Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Memory management help #15

Open
jessegrosjean opened this issue Jul 27, 2021 · 0 comments
Open

Memory management help #15

jessegrosjean opened this issue Jul 27, 2021 · 0 comments

Comments

@jessegrosjean
Copy link
Contributor

I know this lib isn't advertised as ready for production, but I've been having fun using it in a side project.

I've also been making some fixes as I run into issues:

#14

In my current use it seems the parsed libxml2 structures are never freed. I see that it's not as simple as calling xmlFree upon deinit of swift object since the xmlPtr's are not tied to swift object lifetimes. I'm unsure of best way to solve.

Do you have a memory management design in mind so that libxml2 structures are freed?

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

No branches or pull requests

1 participant