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 80733 - Icon container leaks a style
Icon container leaks a style
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Views: Icon View
0.x.x [obsolete]
Other other
: High normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-05-03 20:05 UTC by Dave Camp
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
unref the style (1.23 KB, patch)
2002-05-03 20:13 UTC, Dave Camp
none Details | Review

Description Dave Camp 2002-05-03 20:05:10 UTC
In the realize method, after copying the style and setting it on the
widget, the icon container doesn't unref its style.  This leaks
EelBackgroundStyles, which in turn hold references to EelBackgrounds.

Attached is a one-liner with a ChangeLog to unref the style.
Comment 1 Dave Camp 2002-05-03 20:13:45 UTC
Created attachment 8167 [details] [review]
unref the style
Comment 2 Heath Harrelson 2002-05-06 09:13:06 UTC
Patch -> high.
Comment 3 Darin Adler 2002-05-09 19:12:09 UTC
Looks great. Feel free to check in.
Comment 4 Dave Camp 2002-05-09 20:34:03 UTC
Committed.