pidgin/pidgin

Fix possible leak when creating FarStream stream

2021-10-26, Elliott Sales de Andrade
3713c9a8813c
Fix possible leak when creating FarStream stream

The relay info is created before some early returns, but without being freed
there. It can be created within a condition where it's really needed instead.
Then telling the GValue to take it means we don't need to free it ourselves.
---
id: im.pidgin.Finch3
runtime: org.gnome.Platform
runtime-version: '3.36'
sdk: org.gnome.Sdk
command: finch3
finish-args:
- --share=ipc
- --socket=x11
- --share=network
- --talk-name=org.freedesktop.Notifications
- --system-talk-name=org.freedesktop.Avahi
modules:
- packaging/flatpak/libpurple-common.yml
- packaging/flatpak/libgnt.yml
- name: finch3
buildsystem: meson
config-opts:
- -Dgtkui=false
- -Ddoc=false
sources:
- type: dir
path: '.'