GNOME Bugzilla – Bug 672757
[patch] memory leak
Last modified: 2012-03-27 12:19:48 UTC
from valgrind log: ==32669== 972 (288 direct, 684 indirect) bytes in 6 blocks are definitely lost in loss record 6,926 of 7,144 ==32669== at 0x402B018: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==32669== by 0x49D189A: ??? (in /usr/lib/libglib-2.0.so.0.3122.0) ==32669== by 0x49D1C42: g_malloc (in /usr/lib/libglib-2.0.so.0.3122.0) ==32669== by 0x49E60CD: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.3122.0) ==32669== by 0x49E6635: g_slice_alloc0 (in /usr/lib/libglib-2.0.so.0.3122.0) ==32669== by 0x409E18B: font_info_create_for_screen (vtedraw.c:654) ==32669== by 0x409E211: font_info_create_for_widget (vtedraw.c:666) ==32669== by 0x409EB25: _vte_draw_set_text_font (vtedraw.c:932) ==32669== by 0x4083424: vte_terminal_ensure_font (vte.c:7814) ==32669== by 0x4086272: vte_terminal_realize (vte.c:9170) ==32669== by 0x80679E0: terminal_screen_realize (terminal-screen.c:294) ==32669== by 0x49153CB: g_cclosure_marshal_VOID__VOID (in /usr/lib/libgobject-2.0.so.0.3122.0) ==32669== by 0x49124DC: ??? (in /usr/lib/libgobject-2.0.so.0.3122.0)
Created attachment 210520 [details] [review] 0001-vtedraw-fix-leaked-PangoContext.patch
Comment on attachment 210520 [details] [review] 0001-vtedraw-fix-leaked-PangoContext.patch Thanks! Looks fine, let's commit this after freeze ends on monday. Commit to vte-0-32 and vte-next branches; do you have a git account on git.gnome.org?
>do you have a git account on git.gnome.org? No.
No problem, I'll commit them.