From 95f80293456d9d4b1b096621260c38bc90325ec0 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Thu, 21 Jul 2016 15:47:47 +0200 Subject: 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 --- avprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'avprobe.c') 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; -- cgit v1.2.3