gst: fix stream params memory leak
Both the GPtrArray and its contents are leaked in case of success.
pw_stream_connect()
copies the params as needed, so use g_autoptr()
to free the array and with it, its contents.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Both the GPtrArray and its contents are leaked in case of success.
pw_stream_connect()
copies the params as needed, so use g_autoptr()
to free the array and with it, its contents.