Skip to content

settings: Fix string leak

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

Leak report

128 bytes in 1 blocks are definitely lost in loss record 27,767 of 32,284
   at 0x484BE40: realloc (vg_replace_malloc.c:1800)
   by 0x546C701: g_realloc (gmem.c:171)
   by 0x5488857: g_string_expand (gstring.c:82)
   by 0x54888CB: g_string_sized_new (gstring.c:113)
   by 0x5488E5B: g_string_new (gstring.c:134)
   by 0x544FB34: g_build_path_va (gfileutils.c:1914)
   by 0x5450F88: g_build_path (gfileutils.c:2077)
   by 0x114F6E: system_data_lookup (main.c:191)
   by 0x114F6E: xfdesktop_settings_dialog_setup_tabs (main.c:2149)
   by 0x114F6E: main (main.c:2497)

Testing

  • No issues were detected with Valgrind when testing the patch

Merge request reports

Loading