mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
mpegtsdemux: fix PAT and PMT info-related object leaks
This commit is contained in:
parent
6b9e2628b7
commit
89fed534e8
2 changed files with 2 additions and 0 deletions
|
@ -219,4 +219,5 @@ mpegts_pmt_info_add_stream (MpegTsPmtInfo * pmt_info,
|
|||
g_value_init (&v, G_TYPE_OBJECT);
|
||||
g_value_take_object (&v, stream);
|
||||
g_value_array_append (pmt_info->streams, &v);
|
||||
g_value_unset (&v);
|
||||
}
|
||||
|
|
|
@ -3137,6 +3137,7 @@ mpegts_demux_build_pat_info (GstMpegTSDemux * demux)
|
|||
g_value_init (&v, G_TYPE_OBJECT);
|
||||
g_value_take_object (&v, info_obj);
|
||||
g_value_array_append (vals, &v);
|
||||
g_value_unset (&v);
|
||||
}
|
||||
return vals;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue