mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
h264parse: fix leak in user data unregistered
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1458>
This commit is contained in:
parent
ffdc8634e8
commit
cb7e1a6576
1 changed files with 7 additions and 0 deletions
|
@ -2513,6 +2513,13 @@ gst_h264_sei_clear (GstH264SEIMessage * sei)
|
|||
rud->data = NULL;
|
||||
break;
|
||||
}
|
||||
case GST_H264_SEI_USER_DATA_UNREGISTERED:{
|
||||
GstH264UserDataUnregistered *udu = &sei->payload.user_data_unregistered;
|
||||
|
||||
g_free ((guint8 *) udu->data);
|
||||
udu->data = NULL;
|
||||
break;
|
||||
}
|
||||
case GST_H264_SEI_UNHANDLED_PAYLOAD:{
|
||||
GstH264SEIUnhandledPayload *payload = &sei->payload.unhandled_payload;
|
||||
|
||||
|
|
Loading…
Reference in a new issue