[FFmpeg-devel] [PATCH 2/3] lavf/tee: fix leak of select option.
Stefano Sabatini
stefasab at gmail.com
Mon Oct 21 17:27:50 CEST 2013
On date Monday 2013-10-21 17:08:47 +0200, Nicolas George encoded:
> Signed-off-by: Nicolas George <george at nsup.org>
> ---
> libavformat/tee.c | 1 +
> 1 file changed, 1 insertion(+)
>
>
> Probably not spotted by Coverity, but caught by Valgrind at the same time as
> #1.
>
>
> diff --git a/libavformat/tee.c b/libavformat/tee.c
> index 171a827..78348e3 100644
> --- a/libavformat/tee.c
> +++ b/libavformat/tee.c
> @@ -280,6 +280,7 @@ static int open_slave(AVFormatContext *avf, char *slave, TeeSlave *tee_slave)
>
> end:
> av_free(format);
> + av_free(select);
> av_dict_free(&options);
> return ret;
> }
LGTM, thanks.
--
FFmpeg = Faithless and Free MultiPurpose Enhancing Gem
More information about the ffmpeg-devel
mailing list