aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/asfdec_f.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-07-02 09:23:35 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-07-02 09:42:33 +0200
commit1f69b7baa10c6c59a7d00c5f40aaae30e5726ee8 (patch)
tree3a9527cab53b26265fb1d68dd00b9b5745e9c507 /libavformat/asfdec_f.c
parent72cad800164c169bc0fdc48a24b4503035e81ed2 (diff)
downloadffmpeg-1f69b7baa10c6c59a7d00c5f40aaae30e5726ee8.tar.gz
avformat/asfdec_f: Fix memleak
Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/asfdec_f.c')
-rw-r--r--libavformat/asfdec_f.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/asfdec_f.c b/libavformat/asfdec_f.c
index 500c5f027c..3775cdb715 100644
--- a/libavformat/asfdec_f.c
+++ b/libavformat/asfdec_f.c
@@ -729,6 +729,7 @@ static int asf_read_metadata(AVFormatContext *s, int64_t size)
} else {
get_tag(s, name, value_type, value_len, 16);
}
+ av_freep(&name);
}
return 0;