summaryrefslogtreecommitdiff
path: root/libavformat/hls.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/hls.c')
-rw-r--r--libavformat/hls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 22fd6f1f1b..4869ad4000 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -232,6 +232,7 @@ static void free_init_section_list(struct playlist *pls)
{
int i;
for (i = 0; i < pls->n_init_sections; i++) {
+ av_freep(&pls->init_sections[i]->key);
av_freep(&pls->init_sections[i]->url);
av_freep(&pls->init_sections[i]);
}