commit | f14f393587a47cdb8448535144d8143041466ab4 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Apr 02 02:42:39 2018 -0600 |
committer | Tom Rini <trini@konsulko.com> | Tue Apr 10 11:52:16 2018 -0400 |
tree | 83ff64a294e3ccb05a266ccd07de6f394a163c58 | |
parent | dfe25fa20625b72542c88e4d9c91f2b9136fc3ed [diff] |
log: Correct missing free() on error in log_add_filter() 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@chromium.org>