diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-07-21 15:47:47 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2016-08-29 19:08:26 +0200 |
commit | 95f80293456d9d4b1b096621260c38bc90325ec0 (patch) | |
tree | 7bc3b265796975e3f0c3d189b93c478da1773c76 /avprobe.c | |
parent | 8db804e8f549d5b86a1edf62736e0ef80f160da9 (diff) | |
download | ffmpeg-95f80293456d9d4b1b096621260c38bc90325ec0.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |