Skip to content

Remove unused last_filename field to fix leak

Leak report

1 bytes in 1 blocks are definitely lost in loss record 24 of 13,890
   at 0x48447A8: malloc (vg_replace_malloc.c:446)
   by 0x4A84661: g_malloc (gmem.c:100)
   by 0x12DD0A: g_strdup_inline (gstrfuncs.h:317)
   by 0x12DD0A: xfce_desktop_init (xfce-desktop.c:543)
   by 0x4B98768: g_type_create_instance (gtype.c:1951)
   by 0x4B7AF87: g_object_new_internal (gobject.c:2606)
   by 0x4B7CE9C: g_object_new_valist (gobject.c:2945)
   by 0x4B7D64B: g_object_new (gobject.c:2418)
   by 0x12F274: xfce_desktop_new (xfce-desktop.c:976)
[...snip...]

Testing

  • No issues were detected with Valgrind when testing the patch

Merge request reports

Loading