Browse Source

libavformat/dashdec: Fix for un-free memory

Fixes ticket #7338.
tags/n4.1
Colin NG Carl Eugen Hoyos 6 years ago
parent
commit
af4c2acddd
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavformat/dashdec.c

+ 0
- 1
libavformat/dashdec.c View File

@@ -1879,7 +1879,6 @@ static int is_common_init_section_exist(struct representation **pls, int n_pls)

static void copy_init_section(struct representation *rep_dest, struct representation *rep_src)
{
*rep_dest->init_section = *rep_src->init_section;
rep_dest->init_sec_buf = av_mallocz(rep_src->init_sec_buf_size);
memcpy(rep_dest->init_sec_buf, rep_src->init_sec_buf, rep_src->init_sec_data_len);
rep_dest->init_sec_buf_size = rep_src->init_sec_buf_size;


Loading…
Cancel
Save