Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment