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 41279 - Fix gnome_vfs_get_file_info behavior
Fix gnome_vfs_get_file_info behavior
Status: RESOLVED WONTFIX
Product: gnome-vfs
Classification: Deprecated
Component: Async operations
2.13.x
Other All
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2000-06-07 00:17 UTC by pavel
Modified: 2008-09-06 19:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description pavel 2001-09-10 00:33:43 UTC
gnome_vfs_get_file_info leaks if called repeatedly on the same GnomeVFSFileInfo
structure unless gnome_vfs_file_info_init is called to clear out the structure
before the call. This is very subtle and error-prone. gnome_vfs_get_file_info
should just free the items it is replacing.



------- Additional Comments From snickell@stanford.edu 2001-07-23 00:38:20 ----

Taking bugs previously assigned to Pavel, assigning them to myself. Will parse
them out at my leisure , but many are GnomeVFS bugs we should look at for 2.0



------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-09-09 20:33 -------

The original reporter (pavel@eazel.com) of this bug does not have an account here.
Reassigning to the exporter, unknown@bugzilla.gnome.org.

Comment 1 Seth Nickell 2004-10-27 03:49:41 UTC
MASS CHANGE VFS. Re-assigning bugs that I currently own in VFS to the proper
owner (probably Alex).
Comment 2 Christian Neumair 2006-02-27 10:51:00 UTC
Still an issue. Is there any reason why gnome_vfs_file_info_clear preserves the old refcount while freeing its contents and memsetting it to 0?
Comment 3 André Klapper 2008-09-06 19:08:21 UTC
gnome-vfs has been deprecated and superseded by gio/gvfs since GNOME 2.22, hence mass-closing many of the gnome-vfs requests/bug reports. This means that gnome-vfs is NOT actively maintained anymore, however patches are still welcome.

If your reported issue is still valid for gio/gvfs, please feel free to file a bug report against glib/gio or gvfs.

@Bugzilla mail recipients: query for gnome-vfs-mass-close to get rid of these notification emails all together.


General further information: http://en.wikipedia.org/wiki/GVFS 
Reasons behind this decision are listed at http://www.mail-archive.com/gnome-vfs-list@gnome.org/msg00899.html