mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
mpegtspacketizer: fix minor memory leak
Don't leak language code. Fixes #619444.
This commit is contained in:
parent
e601988ddd
commit
58b926b978
1 changed files with 1 additions and 0 deletions
|
@ -601,6 +601,7 @@ mpegts_packetizer_parse_pmt (MpegTSPacketizer * packetizer,
|
|||
lang_code = g_strndup (language_n, 3);
|
||||
gst_structure_set (stream_info, "lang-code", G_TYPE_STRING,
|
||||
lang_code, NULL);
|
||||
g_free (lang_code);
|
||||
}
|
||||
|
||||
gst_mpeg_descriptor_free (desc);
|
||||
|
|
Loading…
Reference in a new issue