Re: [PATCH 1/1] drivers: qe: avoid double free()

2021-01-19 Thread Tom Rini
On Sun, Dec 27, 2020 at 11:48:49AM +0100, Heinrich Schuchardt wrote: > Avoid calling free(addr) twice if the device for ucode is not found. > > The problem was indicated by cppcheck. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description:

[PATCH 1/1] drivers: qe: avoid double free()

2020-12-27 Thread Heinrich Schuchardt
Avoid calling free(addr) twice if the device for ucode is not found. The problem was indicated by cppcheck. Signed-off-by: Heinrich Schuchardt --- drivers/qe/qe.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c index 1a829b5a4c..259e4e3e67 100644 --- a/drive