Skip to content

manager: Fix string array leak

Leak report

144 (88 direct, 56 indirect) bytes in 5 blocks are definitely lost in loss record 8,974 of 10,061
   at 0x484BC13: calloc (vg_replace_malloc.c:1675)
   by 0x57516B5: g_malloc0 (gmem.c:133)
   by 0x5751825: g_malloc0_n (gmem.c:437)
   by 0x48BE9C5: xfconf_channel_get_string_list (xfconf-channel.c:836)
   by 0x12AAF2: xfsm_manager_load_failsafe (xfsm-manager.c:634)
   by 0x12CBB6: xfsm_manager_load_settings (xfsm-manager.c:809)
   by 0x12CBB6: xfsm_manager_load (xfsm-manager.c:834)
[...snip...]

Testing

  • No issues were detected when testing the patch with Valgrind

Merge request reports

Loading