GNOME Bugzilla – Bug 774817
Memory leak in webkit_pref_callback_accept_languages
Last modified: 2017-03-20 21:38:27 UTC
Note sure how to fix this one: ==844== 9 bytes in 2 blocks are definitely lost in loss record 680 of 18,577 ==844== at 0x4C2BBAD: malloc (vg_replace_malloc.c:299) ==844== by 0x18EDA8F6: g_malloc (gmem.c:94) ==844== by 0x18EDABB3: g_malloc_n (gmem.c:331) ==844== by 0x18EF757A: g_strndup (gstrfuncs.c:425) ==844== by 0x18EF8123: g_ascii_strdown (gstrfuncs.c:1517) ==844== by 0x4E488B7: ephy_langs_append_languages (ephy-langs.c:112) ==844== by 0x50CF484: webkit_pref_callback_accept_languages (ephy-embed-prefs.c:361) ==844== by 0x50CFA41: ephy_embed_prefs_init (ephy-embed-prefs.c:570) ==844== by 0x18F020D6: g_once_impl (gthread.c:605) ==844== by 0x50CFC77: ephy_embed_prefs_get_settings (ephy-embed-prefs.c:626) ==844== by 0x50C03BD: ephy_sync_service_init (ephy-sync-service.c:617) ==844== by 0x158E8C55: g_type_create_instance (gtype.c:1866) I tried using g_array_set_clear_function to free the strings in the array, but it created a double free that I don't understand.
*** This bug has been marked as a duplicate of bug 682723 ***