Skip to content

Fix string leak in xfdesktop_application_theme_changed

correctmost requested to merge correctmost/xfdesktop:cm/fix-string-leak into master

Leak report

8 bytes in 1 blocks are definitely lost in loss record 740 of 14,417
   at 0x48447A8: malloc (vg_replace_malloc.c:446)
   by 0x4A84661: g_malloc (gmem.c:100)
   by 0x4A9DDD3: g_strdup (gstrfuncs.c:323)
   by 0x4B9FA26: g_strdup_inline (gstrfuncs.h:321)
   by 0x4B9FA26: value_lcopy_string (gvaluetypes.c:315)
   by 0x4B7E49C: g_object_get_valist (gobject.c:3271)
   by 0x4B7E81B: g_object_get (gobject.c:3366)
   by 0x12FC25: xfdesktop_application_theme_changed (xfdesktop-application.c:668)
   by 0x12FEAF: xfdesktop_application_start (xfdesktop-application.c:935)
   by 0x130254: wait_for_wm_complete (xfdesktop-application.c:621)
[...snip...]

Testing

  • No issues were detected with Valgrind when testing the patch

Merge request reports