diff options
| author | Andrew Goodbody <[email protected]> | 2025-08-01 11:39:15 +0100 |
|---|---|---|
| committer | Michael Trimarchi <[email protected]> | 2025-08-03 10:20:16 +0200 |
| commit | 56372f834c717402882112ba888943421020b6d5 (patch) | |
| tree | 02755c990821560b500f8ab86bc38d4f57104005 /scripts/objdiff | |
| parent | 4003ed1c1ecfc88092a1d3c65bf432ab7c2ea15f (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 <[email protected]>
Reviewed-By: Michael Trimarchi <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
