From: James Almer <jamrial@gmail.com>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH] avutil/channel_layout: Fix leak of string
Date: Tue, 15 Mar 2022 12:11:26 -0300
Message-ID: <3330db87-6f7d-f759-cd54-f85c7adfe434@gmail.com> (raw)
In-Reply-To: <AS1PR01MB9564460D5CC14C2BAD62B6428F109@AS1PR01MB9564.eurprd01.prod.exchangelabs.com>
On 3/15/2022 11:55 AM, Andreas Rheinhardt wrote:
> Fixes memleaks in the channel_layout FATE-test.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
> ---
> libavutil/channel_layout.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/libavutil/channel_layout.c b/libavutil/channel_layout.c
> index 05ed35c078..8cc4efe4cf 100644
> --- a/libavutil/channel_layout.c
> +++ b/libavutil/channel_layout.c
> @@ -587,6 +587,7 @@ int av_channel_layout_from_string(AVChannelLayout *channel_layout,
> av_free(channel);
> av_free(chname);
> }
> + av_free(chlist);
>
> return 0;
> }
LGTM.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
prev parent reply other threads:[~2022-03-15 15:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-15 14:55 Andreas Rheinhardt
2022-03-15 15:11 ` James Almer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3330db87-6f7d-f759-cd54-f85c7adfe434@gmail.com \
--to=jamrial@gmail.com \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git