transcodebin: Actually free the TranscodingStream structure
authorEdward Hervey <edward@centricular.com>
Sat, 12 Nov 2022 09:03:48 +0000 (10:03 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Sat, 12 Nov 2022 09:33:51 +0000 (10:33 +0100)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3390>

subprojects/gst-plugins-bad/gst/transcode/gsttranscodebin.c

index 3e764714a4dd655dbd1d8000e45698b1c2045b6c..d8536c54cb69266454b3662c15969ec2a5183bde 100644 (file)
@@ -90,6 +90,8 @@ transcoding_stream_free (TranscodingStream * tstream)
 {
   gst_object_unref (tstream->stream);
   gst_object_unref (tstream->encodebin_pad);
+
+  g_free (tstream);
 }
 
 typedef struct