Skip to content

Conversation

@baka0815
Copy link
Contributor

@baka0815 baka0815 commented Dec 3, 2025

When compiled as a DLL, the function convert returns a pointer to a C string. This memory is currently never freed, because it's reserved on the DLL side and can't be freed on the client side.

Export a new function to free the allocated memory on the library side.

Disclaimer: This is my first try in rust, so the code might be wrong.

@wouterken wouterken merged commit 35696ff into wouterken:master Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants