summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorThierry Reding <[email protected]>2019-05-20 18:05:04 +0200
committerSimon Glass <[email protected]>2019-07-10 16:52:58 -0600
commit848e94d0ba7296d81e3c00b01bad1c13741497fb (patch)
treebfdd8240b436f9846bb9c5ae2233ef94744f4c87 /scripts/const_structs.checkpatch
parent1edc5688df70ee3ddb692ef3429ac28ed8666a4b (diff)
fdtdec: test: Fix memory leak
Free the memory allocated to store the test FDT upon test completion to avoid leaking the memory. We don't bother cleaning up on test failure since the code is broken in that case and should be fixed, in which case the leak would also go away. Reported-by: Tom Rini <[email protected]> Suggested-by: Heinrich Schuchardt <[email protected]> Signed-off-by: Thierry Reding <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions