pipewire-object: fix memory leaks when getting properties

2 jobs for memleak-fixes in 1 minute and 17 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Container
passed container_fedora #10443554

00:00:19

 
  Build
passed build_on_fedora #10443555

00:00:58