utils: Fix use-after-free in xdp_get_app_info_from_pid()
utils: Fix use-after-free in xdp_get_app_info_from_pid()

This was freeing the value before returning it.

This was noticed by jhenstridge in https://github.com/flatpak/xdg-desktop-portal/pull/443

matthiasclasen/xdg-desktop-portal,matthiasclasen/xdg-desktop-portal,flatpak/xdg-desktop-portal,matthiasclasen/xdg-desktop-portal,flatpak/xdg-desktop-portal,matthiasclasen/xdg-desktop-portal,flatpak/xdg-desktop-portal,matthiasclasen/xdg-desktop-portal,flatpak/xdg-desktop-portal