[gtk] NativeImageLoader does not free all buffers resulting in off heap memory leak
why not free buffer memory (OS.g_free(buffer[0])) when use NativeImageLoader.java#save method, GDKgdk_pixbuf_save_to_bufferv ?. It may be cause NativeMemory Leak
See buffer_ptr use. Please next time if you have a question, start new discussion under https://github.com/eclipse-platform/eclipse.platform.swt/discussions
See buffer_ptr use. Please next time if you have a question, start new discussion under https://github.com/eclipse-platform/eclipse.platform.swt/discussions
Thanks, your screenshot fooled me. I see that buffer_ptr is related to the previous gdk_pixbuf_new_from_data call, amd buffer is also poorly named. Do you want to provide a PR with the fix?
Thank you for your reply. I am happy to do this and will try to submit the PR after I finish work