mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
adaptivedemux2: Fix uninitialised memory usage in debug
Fix printing uninitialised memory by clearing the GstAdaptiveDemuxClock structure when allocating. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2873>
This commit is contained in:
parent
d8c4ebccab
commit
fd64e8c7ed
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ struct _GstAdaptiveDemuxLoop
|
|||
GstAdaptiveDemuxClock *
|
||||
gst_adaptive_demux_clock_new (void)
|
||||
{
|
||||
GstAdaptiveDemuxClock *clock = g_slice_new (GstAdaptiveDemuxClock);
|
||||
GstAdaptiveDemuxClock *clock = g_slice_new0 (GstAdaptiveDemuxClock);
|
||||
GstClockType clock_type = GST_CLOCK_TYPE_OTHER;
|
||||
GObjectClass *gobject_class;
|
||||
|
||||
|
|
Loading…
Reference in a new issue