hlsdemux2: m3u8: Fix memory leaks on parsing
authorJan Schmidt <jan@centricular.com>
Wed, 10 Aug 2022 19:36:15 +0000 (05:36 +1000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 12 Aug 2022 13:52:59 +0000 (13:52 +0000)
commita6eb7254137639fbaaa9a0fc511b949077bfbc2c
tree7a0acd9654730de5a4dc61704d6d0294acb216e9
parent0ff317f1071c648db5d06bf39be16d1a08e23348
hlsdemux2: m3u8: Fix memory leaks on parsing

Fix memory leaks when parsing of an m3u8 file is
incomplete, with EXTINF or EXT-X-PROGRAM-DATE-TIME
directives, but no segment url.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2873>
subprojects/gst-plugins-good/ext/adaptivedemux2/hls/m3u8.c