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 690382 - SoupCache is leaking when clearing the cache files
SoupCache is leaking when clearing the cache files
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2012-12-17 22:28 UTC by Sudarsana Nagineni (babu)
Modified: 2012-12-19 09:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix proposal (802 bytes, patch)
2012-12-17 22:45 UTC, Sudarsana Nagineni (babu)
accepted-commit_now Details | Review

Description Sudarsana Nagineni (babu) 2012-12-17 22:28:13 UTC
SoupCache is leaking GFileInfo returned by g_file_enumerator_next_file() when clearing the cache files in clear_cache_files().

http://git.gnome.org/browse/libsoup/tree/libsoup/soup-cache.c#n1503
Comment 1 Sudarsana Nagineni (babu) 2012-12-17 22:45:43 UTC
Created attachment 231779 [details] [review]
Fix proposal
Comment 2 Sergio Villar 2012-12-18 08:28:30 UTC
Good catch!
Comment 3 Christophe Dumez 2012-12-19 09:42:22 UTC
Committed in 4eed2047493d1956184d9310e1b1b3b28472763d.
Comment 4 Sudarsana Nagineni (babu) 2012-12-19 09:54:11 UTC
Thanks Chris.