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 308581 - Leak in gtkhsv.c
Leak in gtkhsv.c
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: X11
2.7.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2005-06-21 21:30 UTC by Kjartan Maraas
Modified: 2005-06-21 23:11 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
patch to fix the leak (608 bytes, patch)
2005-06-21 21:31 UTC, Kjartan Maraas
none Details | Review

Description Kjartan Maraas 2005-06-21 21:30:36 UTC
Valgrind reported this:

==27221== 756 (48 direct, 708 indirect) bytes in 1 blocks are definitely lost in
loss record 8213 of 11855
==27221==    at 0x1B909222: malloc (vg_replace_malloc.c:130)
==27221==    by 0x1C05321A: cairo_create (cairo.c:133)
==27221==    by 0x1BF727DA: gdk_cairo_create (gdkcairo.c:46)
==27221==    by 0x1BC7E81D: gtk_hsv_expose (gtkhsv.c:1301)
==27221==    by 0x1BCB6534: _gtk_marshal_BOOLEAN__BOXED (gtkmarshalers.c:83)
==27221==    by 0x1C0ADE28: g_type_class_meta_marshal (gclosure.c:514)
Comment 1 Kjartan Maraas 2005-06-21 21:31:23 UTC
Created attachment 48134 [details] [review]
patch to fix the leak
Comment 2 Matthias Clasen 2005-06-21 22:25:32 UTC
Looks good, please commit
Comment 3 Kjartan Maraas 2005-06-21 23:11:37 UTC
Commited.