Do you know if that structure has to be freed natively? Sorry. I'm new to JNA, and I can't say. I'm assuming that JNA takes care of all garbage collection and freeing memory. I looked through the docs and api now, and can't find any language otherwise. I found this post http://osdir.com/ml/java.jna...