summaryrefslogtreecommitdiff
path: root/scripts/dtc/pylibfdt/setup.py
diff options
context:
space:
mode:
authorAndrew Goodbody <andrew.goodbody@linaro.org>2025-08-01 11:39:15 +0100
committerMichael Trimarchi <michael@amarulasolutions.com>2025-08-03 10:20:16 +0200
commit56372f834c717402882112ba888943421020b6d5 (patch)
tree02755c990821560b500f8ab86bc38d4f57104005 /scripts/dtc/pylibfdt/setup.py
parent4003ed1c1ecfc88092a1d3c65bf432ab7c2ea15f (diff)
mtd: nand: sunxi: Free allocated memory on errors
Add kfree calls on error paths for memory that was allocated. This will prevent memory leaks. This issue found by Smatch. Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org> Reviewed-By: Michael Trimarchi <michael@amarulasolutions.com>
Diffstat (limited to 'scripts/dtc/pylibfdt/setup.py')
0 files changed, 0 insertions, 0 deletions