Re: [PATCH 1/1] env: superfluous check before free()

2021-10-26 Thread Tom Rini
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 Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[PATCH 1/1] env: superfluous check before free()

2021-10-25 Thread Heinrich Schuchardt
Free() checks if its argument in NULL. There is no need for the caller to do the same. Signed-off-by: Heinrich Schuchardt --- env/flash.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/env/flash.c b/env/flash.c index ebee9069e4..473e82454d 100644 --- a/env/flash.c +++