diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-07-02 09:23:35 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-07-02 09:42:33 +0200 |
commit | 1f69b7baa10c6c59a7d00c5f40aaae30e5726ee8 (patch) | |
tree | 3a9527cab53b26265fb1d68dd00b9b5745e9c507 /libavformat/asfdec_f.c | |
parent | 72cad800164c169bc0fdc48a24b4503035e81ed2 (diff) | |
download | ffmpeg-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.c | 1 |
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; |