Skip to content

Fix color leak in thunar_util_clip_view_background

correctmost requested to merge correctmost/thunar:cm/fix-color-leak into master

Leak report

Direct leak of 384 byte(s) in 12 object(s) allocated from:
    #0 0x5917a8d8dbf9 in malloc (/usr/asan/bin/thunar+0x457bf9)
    #1 0x7cd3d31d5062 in g_malloc glib/gmem.c:100:13
    #2 0x7cd3d320f161 in g_slice_alloc glib/gslice.c:193:9
    #3 0x7cd3d320f161 in g_slice_copy glib/gslice.c:245:18
    #4 0x5917a901c618 in thunar_util_clip_view_background /thunar/thunar-util.c:1042:15
    #5 0x5917a8ecc26a in thunar_text_renderer_render /thunar/thunar-text-renderer.c:247:5
    #6 0x7cd3d429749e in gtk_cell_renderer_render gtk/gtkcellrenderer.c:833:3
    #7 0x7cd3d4284089 in render_cell gtk/gtkcellarea.c:1147:3
[...snip...]

Testing

  • No issues were detected with LSan, ASan, or Valgrind when testing the patch

Merge request reports