Skip to content
Snippets Groups Projects
Commit 205dd5af authored by Mario Six's avatar Mario Six Committed by Simon Glass
Browse files

core: ofnode: Fix mem leak in error path


A newly created property is currently not freed if a name could not be
allocated. This patch fixes the resulting memory leak in the error
patch.

Reported-by: Coverity (CID: 184085)
Fixes: e369e58d ("core: Add functions to set properties in live-tree")
Signed-off-by: default avatarMario Six <mario.six@gdsys.cc>
parent ab88bd2b
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