GNOME Bugzilla – Bug 509884
GIO memory leaks
Last modified: 2008-01-18 20:25:48 UTC
Please describe the problem: (..from the mailing list..) The g_file_get should not have weak references... Jürg says: Thanks for the patch, however gio-2.0.vapi is generated by vapigen as noted in the first line of the file, so you need to update the files that generate gio-2.0.vapi, i.e. the files in vapi/packages/gio-2.0/, and regenerate the vapi file afterwards. There's a patch provided by Mikael Hermansson, but it's a hand-made one. The problem must be fixed in vapigen or the source .h files. Steps to reproduce: 1. 2. 3. Actual results: it leaks Expected results: to not leak Does this happen every time? yes Other information:
Confirming, we need to add appropriate metadata.
2008-01-18 Jürg Billeter <j@bitron.ch> * vapi/packages/gio-2.0/: fix memory leaks in g_file_new_for_* binding, fixes bug 509884 * vapi/gio-2.0.vapi: regenerated Fixed in r857.