[U-Boot] log: Correct missing free() on error in log_add_filter()

Tom Rini trini at konsulko.com
Wed Apr 11 14:05:06 UTC 2018


On Mon, Apr 02, 2018 at 02:42:39AM -0600, Simon Glass wrote:

> If there is a problem with the parameters to log_add_filter(), the memory
> allocated is currently not freed. Fix this.
> 
> Reported-by: Coverity (CID: 171962)
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180411/15621426/attachment.sig>


More information about the U-Boot mailing list