commit | 95e885d5bde20f163668ae7f27d75ba3db74be78 | [log] [tgz] |
---|---|---|
author | Mario Six <mario.six@gdsys.cc> | Thu Oct 04 09:22:24 2018 +0200 |
committer | Simon Glass <sjg@chromium.org> | Wed Nov 14 09:16:27 2018 -0800 |
tree | 938390ce9e76c1257bccfaac34a6eab778125d15 | |
parent | 1a9d43fd102efc7435eb35c4313cc194a345d9b9 [diff] |
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: e369e58df79c ("core: Add functions to set properties in live-tree") Signed-off-by: Mario Six <mario.six@gdsys.cc>