GNOME Bugzilla – Bug 305037
iconv_cache_destroy() does not exist
Last modified: 2005-05-21 23:13:45 UTC
glib/gconvert.c: iconv_cache_init() has no conterpart which destroys iconv cache. There is no way to free up iconv cache on program exit. It makes life of leak detection tools harder. Observed to leave 2x32k still allocated when Mozilla exits: 32640 bytes in 1 blocks are still reachable in loss record 5392 of 5392 at 0x341462B4: malloc by 0x34A6EA99: __gconv_open by 0x34A6E540: iconv_open (libc-2.3.2.so) by 0x34826ECA: try_conversion by 0x34826F6A: g_iconv_open by 0x34827410: open_converter by 0x34827872: g_convert by 0x34827C3E: g_convert_with_fallback by 0x346FADAF: gdk_utf8_to_string_target by 0x34700916: set_text_property (libgdk-x11-2.0.so.0.600.7) by 0x34700A80: set_wm_name (libgdk-x11-2.0.so.0.600.7) by 0x34700B92: gdk_window_set_title (libgdk-x11-2.0.so.0.600) by 0x346FDACD: gdk_window_new (libgdk-x11-2.0.so.0.600.7) by 0x346DC1DF: gdk_display_open (libgdk-x11-2.0.so.0.600.7) ... 64k wasted simply for setting window title? Kind of silly... Can this cache be disabled at glib biuld time?
*** This bug has been marked as a duplicate of 64096 ***