[FFmpeg-devel] [PATCH 06/13] ffprobe: call uninit_opts().

Stefano Sabatini stefasab at gmail.com
Mon May 14 13:06:21 CEST 2012


On date Saturday 2012-05-12 23:15:28 +0200, Clément Bœsch encoded:
> This some memleaks because of the previous init_opts().

This sentence the verb.

> ---
>  ffprobe.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/ffprobe.c b/ffprobe.c
> index 84f7d82..ab5ad9c 100644
> --- a/ffprobe.c
> +++ b/ffprobe.c
> @@ -1788,6 +1788,7 @@ int main(int argc, char **argv)
>      }
>  
>  end:
> +    uninit_opts();
>      av_freep(&print_format);
>      avformat_network_deinit();

Should be good if tested, thanks.
-- 
FFmpeg = Frightening Fierce Monstrous Powerful Extroverse Gigant


More information about the ffmpeg-devel mailing list