mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
hlsdemux2: m3u8: Fix memory leak
Clear the GValue holding intermediate GstStructure field data. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2873>
This commit is contained in:
parent
fd64e8c7ed
commit
0ff317f107
1 changed files with 1 additions and 0 deletions
|
@ -2228,6 +2228,7 @@ remove_uncommon (GQuark field_id, GValue * value, GstStructure * st2)
|
|||
|
||||
g_value_reset (value);
|
||||
g_value_copy (&dest, value);
|
||||
g_value_reset (&dest);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue