mpegtspacketizer: fix minor memory leak

Don't leak language code.

Fixes #619444.
This commit is contained in:
Sebastian Pölsterl 2010-05-23 19:17:41 +01:00 committed by Tim-Philipp Müller
parent e601988ddd
commit 58b926b978

View file

@ -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);