Skip to content

Fix GArray leak in xfdesktop_keyboard_shortcut_settings_init

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

Leak report

128 bytes in 1 blocks are definitely lost in loss record 30,367 of 35,382
   at 0x484BE40: realloc (vg_replace_malloc.c:1800)
   by 0x546D701: g_realloc (gmem.c:171)
   by 0x54305C4: g_array_maybe_expand (garray.c:1074)
   by 0x5430CED: g_array_sized_new (garray.c:358)
   by 0x117F5E: xfdesktop_keyboard_shortcut_settings_init (xfdesktop-keyboard-shortcuts-settings.c:37)
   by 0x113CEC: main (main.c:211)

Testing

  • No issues were detected when testing the patch with Valgrind

Merge request reports

Loading