Fix FakeGdkRGBA leak in xfconf_g_property_object_notify_gdkrgba
Leak report
Direct leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x7a7c672fd891 in malloc /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x7a7c63ec3e47 in g_malloc glib/gmem.c:100
#2 0x7a7c63f28498 in g_slice_alloc glib/gslice.c:193
#3 0x7a7c63f284e1 in g_slice_copy glib/gslice.c:245
#4 0x7a7c65cbbd38 in gdk_rgba_copy gdk/gdkrgba.c:76
#5 0x7a7c637f6aaf in _g_type_boxed_copy gobject/gtype.c:4426
#6 0x7a7c63759310 in boxed_proxy_lcopy_value gobject/gboxed.c:251
#7 0x7a7c6378cfcf in g_object_get_valist gobject/gobject.c:3271
#8 0x7a7c6378da4a in g_object_get gobject/gobject.c:3366
#9 0x7a7c65ed0494 in xfconf_g_property_object_notify_gdkrgba xfconf/xfconf/xfconf-binding.c:148
#10 0x7a7c65ed0494 in xfconf_g_property_object_notify xfconf/xfconf/xfconf-binding.c:185
[...snip...]
Steps to reproduce
- In Desktop Settings, select a background color on the "Background" tab
Testing
- No issues were detected when testing the patch with UBSan, LSan, and ASan