background: Fix compile warnings with g_clear_pointer

11 jobs for <span class="ref-name">compile-warnings</span> in 5 minutes and 24 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #208223
build

00:02:23

 
  Test
passed #208225
asan

00:03:00

passed #208224
test

00:01:34

 
  Manual
manual #208230
allowed to fail manual
armv8
manual #208226
allowed to fail manual
flatpak
manual #208229
allowed to fail manual
msan
manual #208231
allowed to fail manual
ppc64le
manual #208227
allowed to fail manual
tsan
manual #208228
allowed to fail manual
ubsan
 
  Review
manual #208232
allowed to fail manual
review
manual #208233
allowed to fail manual
stop_review