From: Tom Rini <trini@konsulko.com>
To: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>,
Wolfgang Denk <wd@denx.de>,
u-boot@lists.denx.de
Subject: Re: [PATCH 1/1] env: superfluous check before free()
Date: Tue, 26 Oct 2021 18:42:11 -0400 [thread overview]
Message-ID: <20211026224211.GP8284@bill-the-cat> (raw)
In-Reply-To: <20211025224159.71282-1-heinrich.schuchardt@canonical.com>
[-- Attachment #1: Type: text/plain, Size: 292 bytes --]
On Tue, Oct 26, 2021 at 12:41:59AM +0200, Heinrich Schuchardt wrote:
> Free() checks if its argument in NULL. There is no need for the caller to
> do the same.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Applied to u-boot/master, thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
prev parent reply other threads:[~2021-10-26 22:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-25 22:41 [PATCH 1/1] env: superfluous check before free() Heinrich Schuchardt
2021-10-26 22:42 ` Tom Rini [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=20211026224211.GP8284@bill-the-cat \
--to=trini@konsulko.com \
--cc=heinrich.schuchardt@canonical.com \
--cc=joe.hershberger@ni.com \
--cc=u-boot@lists.denx.de \
--cc=wd@denx.de \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox