Fix leak of seats GList
Leak report
78 (24 direct, 54 indirect) bytes in 1 blocks are definitely lost in loss record 7,783 of 11,851
at 0x48447A8: malloc (vg_replace_malloc.c:446)
by 0x56CD721: g_malloc (gmem.c:100)
by 0x56E58DB: g_slice_alloc (gslice.c:193)
by 0x56C30D9: g_list_append (glist.c:203)
by 0x4A7DB17: _xfw_screen_seat_added (xfw-screen.c:634)
by 0x4A83802: xfw_screen_x11_constructed (xfw-screen-x11.c:93)
by 0x57CCFBC: g_object_new_internal (gobject.c:2657)
by 0x57CEE9C: g_object_new_valist (gobject.c:2945)
by 0x57CF64B: g_object_new (gobject.c:2418)
by 0x4A7DA55: xfw_screen_get (xfw-screen.c:584)
by 0x4A7DA55: xfw_screen_get_default (xfw-screen.c:622)
by 0x13EEAB: panel_window_screen_changed (panel-window.c:1957)
by 0x13F0BC: panel_window_init (panel-window.c:698)
[...snip...]
Testing
- No issues were detected when testing the patch with Valgrind