Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-07-21 16:47:47 +0300
committerLuca Barbato <lu_zero@gentoo.org>2016-08-29 20:08:26 +0300
commit95f80293456d9d4b1b096621260c38bc90325ec0 (patch)
tree7bc3b265796975e3f0c3d189b93c478da1773c76 /avprobe.c
parent8db804e8f549d5b86a1edf62736e0ef80f160da9 (diff)
avprobe: Fix memory leak
After init_opts() there needs to be an uninit_opts() call to free the swscale context and other buffers. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'avprobe.c')
-rw-r--r--avprobe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avprobe.c b/avprobe.c
index abaaee1374..eff9c0d308 100644
--- a/avprobe.c
+++ b/avprobe.c
@@ -1089,7 +1089,7 @@ int main(int argc, char **argv)
avio_flush(probe_out);
av_freep(&probe_out);
av_freep(&buffer);
-
+ uninit_opts();
avformat_network_deinit();
return ret;