After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 509884 - GIO memory leaks
GIO memory leaks
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Bindings
0.1.x
Other All
: Normal normal
: ---
Assigned To: Jürg Billeter
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2008-01-16 12:27 UTC by pancake
Modified: 2008-01-18 20:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description pancake 2008-01-16 12:27:13 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:
Comment 1 Jürg Billeter 2008-01-17 14:18:17 UTC
Confirming, we need to add appropriate metadata.
Comment 2 Jürg Billeter 2008-01-18 20:25:48 UTC
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.