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 308540 - Tiny leak in the notes viewer
Tiny leak in the notes viewer
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
0.x.x [obsolete]
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-21 16:25 UTC by Kjartan Maraas
Modified: 2005-07-06 20:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


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

Description Kjartan Maraas 2005-06-21 16:25:57 UTC
From valgrind:

==2382== 1 bytes in 1 blocks are definitely lost in loss record 6 of 12027
==2382==    at 0x1B909222: malloc (vg_replace_malloc.c:130)
==2382==    by 0x1C4EDF99: g_malloc (gmem.c:137)
==2382==    by 0x1C4FE61D: g_strdup (gstrfuncs.c:91)
==2382==    by 0x8074EA1: nautilus_notes_viewer_init (nautilus-notes-viewer.c:321)
==2382==    by 0x1C4A90B7: g_type_create_instance (gtype.c:1596)
==2382==    by 0x1C48F20F: g_object_constructor (gobject.c:1052)
==2382==    by 0x1C48F861: g_object_newv (gobject.c:949)
==2382==    by 0x1C490394: g_object_new_valist (gobject.c:992)
==2382==    by 0x1C490509: g_object_new (gobject.c:830)
==2382==    by 0x8075237: get_property_pages (nautilus-notes-viewer.c:486)
==2382==    by 0x1B9E3B7A: nautilus_property_page_provider_get_pages
(nautilus-property-page-provider.c:70)
==2382==    by 0x80A400A: append_extension_pages (fm-properties-window.c:3160)

Patch follows
Comment 1 Kjartan Maraas 2005-06-21 16:27:50 UTC
Created attachment 48108 [details] [review]
patch to fix the leak
Comment 2 Kjartan Maraas 2005-07-06 20:23:26 UTC
Commited.