Skip to content
Commit 45fac9fc authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 004d0091
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment