mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +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;
|
rud->data = NULL;
|
||||||
break;
|
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:{
|
case GST_H264_SEI_UNHANDLED_PAYLOAD:{
|
||||||
GstH264SEIUnhandledPayload *payload = &sei->payload.unhandled_payload;
|
GstH264SEIUnhandledPayload *payload = &sei->payload.unhandled_payload;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue