Memory leak when changing backgrounds
Submitted by Kjartan Maraas
Link to original bug (#316687)
Description
Valgrind reports this:
==13326== 37036 (172 direct, 36864 indirect) bytes in 4 blocks are definitely lost in loss record 205 of 239 ==13326== at 0x1B902B44: calloc (vg_replace_malloc.c:279) ==13326== by 0x1C3EDCC7: g_malloc0 (gmem.c:154) ==13326== by 0x1BBA8A6E: vte_bg_get_pixmap (vtebg.c:599) ==13326== by 0x1BBB1191: _vte_xft_set_background_image (vtexft.c:460) ==13326== by 0x1BBAA027: _vte_draw_set_background_image (vtedraw.c:197) ==13326== by 0x1BB9E7C8: vte_terminal_background_update (vte.c:14928) ==13326== by 0x1C3E9943: g_idle_dispatch (gmain.c:3793) ==13326== by 0x1C3E77A1: g_main_context_dispatch (gmain.c:1934) ==13326== by 0x1C3EA575: g_main_context_iterate (gmain.c:2565) ==13326== by 0x1C3EAA76: g_main_loop_run (gmain.c:2769) ==13326== by 0x1BF05834: gtk_main (gtkmain.c:976) ==13326== by 0x805FDBB: main (terminal.c:1770)
Version: 2.12.x
Resolution: RESOLVED DUPLICATE