summaryrefslogtreecommitdiff
path: root/libavformat/dashdec.c
diff options
context:
space:
mode:
authorColin NG <colin_ng@hotmail.com>2018-08-08 17:27:07 +0000
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2018-08-08 23:55:25 +0200
commitaf4c2acddd15ddac97eb4c9f23bfe593ec73b59d (patch)
treeb92d4cd3071e6fb1da19555329f72f2f4e9e6846 /libavformat/dashdec.c
parent90dc584d21eba6a1caed0a0be72dc00a62593db4 (diff)
libavformat/dashdec: Fix for un-free memory
Fixes ticket #7338.
Diffstat (limited to 'libavformat/dashdec.c')
-rw-r--r--libavformat/dashdec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
index 09b06ef3ed..573025226e 100644
--- a/libavformat/dashdec.c
+++ b/libavformat/dashdec.c
@@ -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;