diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-11 08:51:34 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-11 08:51:34 +0100 |
commit | a70b38d2dd0d3c9de6201e2921ea406276455b85 (patch) | |
tree | c41fd87616d5707669eb9e40d968e19bcc5a5171 | |
parent | 9696ad6a76534b16dfaf9872dd20017f9f8d18e4 (diff) | |
download | ffmpeg-a70b38d2dd0d3c9de6201e2921ea406276455b85.tar.gz |
lavf: fix memleak
Fixes CID747738
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 28961119fa..d3e1a9901e 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -432,6 +432,7 @@ int av_probe_input_buffer(AVIOContext *pb, AVInputFormat **fmt, if (!av_strcasecmp(mime_type, "audio/aacp")) { *fmt = av_find_input_format("aac"); } + av_freep(&mime_type); } for(probe_size= PROBE_BUF_MIN; probe_size<=max_probe_size && !*fmt; |