Generally if the native API has a function that allocates memory, the native API also has a function that releases the memory. I don’t think there’s any way (idiomatic or not) to release memory from Java via JNA if it was allocated inside the native code.
--
You received this message because you are subscribed to the Google Groups "Java Native Access" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jna-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jna-users/9aa58aa3-5af9-42d6-9106-042c98882a82n%40googlegroups.com.