diff options
| author | Mario Six <mario.six@gdsys.cc> | 2018-10-04 09:22:24 +0200 |
|---|---|---|
| committer | Simon Glass <sjg@chromium.org> | 2018-11-14 09:16:27 -0800 |
| commit | 205dd5afe59db2a471b756fa04c30232fa29e5c6 (patch) | |
| tree | 938390ce9e76c1257bccfaac34a6eab778125d15 /scripts/kernel-doc | |
| parent | ab88bd2b6a160310953a230d4a4c334ea6a65d3b (diff) | |
| download | u-boot-205dd5afe59db2a471b756fa04c30232fa29e5c6.tar.gz u-boot-205dd5afe59db2a471b756fa04c30232fa29e5c6.tar.xz u-boot-205dd5afe59db2a471b756fa04c30232fa29e5c6.zip | |
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>
Diffstat (limited to 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions
