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 159823 - Leak in gnome_vfs_mime_get_all_desktop_entries
Leak in gnome_vfs_mime_get_all_desktop_entries
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: MIME and file/program mapping
2.8.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2004-11-29 12:53 UTC by Josselin Mouette
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
Proposed fix for gnomeVFS 2.8.3 (359 bytes, patch)
2004-11-29 12:54 UTC, Josselin Mouette
none Details | Review

Description Josselin Mouette 2004-11-29 12:53:36 UTC
Hacking in this function, I noticed that the mime_types list is allocated but
never freed. Unless I'm really mistaken about its purpose, this is a leak.
Comment 1 Josselin Mouette 2004-11-29 12:54:13 UTC
Created attachment 34267 [details] [review]
Proposed fix for gnomeVFS 2.8.3
Comment 2 Christophe Fergeau 2004-11-29 13:03:29 UTC
This looks good, feel free to commit to the gnome-2-8 and HEAD branches, but
wait for the 2.9 release that is due in the coming days.
Comment 3 Sebastien Bacher 2004-11-29 23:19:11 UTC
gnome-vfs 2.9.1 has been released today, I've commited the patch in gnome-2-8
and HEAD, thanks Josselin.