Ticket #15785 (closed defect: fixed)
Reduce memory leaks when using wxInternetFSHandler in wxGTK
|Reported by:||jbbbms||Owned by:|
Valgrind would report lots of memory leaks, if use wxInternetFSHandler to read something from network. The patch is the result of browsing https://developer.gnome.org/glib/2.28/glib-IO-Channels.html, and honestly I don't have an idea about the detail. However, the patch did remove most of resource leaks, except one. Hope some hand-on experts can finish/correct the patch.
Sorry! me English is not good. It's difficult for me to express myself in English, especially when the weather is cold and I feel my brain like frozen. So, please see the demo code and the patch. If more information is needed, please ask and I'll try my best to communicate. Thanks.