commit | 45fac9fc186dd5259dfeddc7e86a0d55bb4377bd | [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 | 004d00914a1888a050ef2d30e52e8e3862983ccb [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>