diff options
| author | Andrew Goodbody <[email protected]> | 2025-07-03 15:03:30 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-07-17 11:39:06 -0600 |
| commit | 1d2723731b41be97fdc56acb68e075f752fd2f2a (patch) | |
| tree | e7577807d38939493ea012784f45be7f750a7ce6 /include/linux/linux_string.h | |
| parent | 3b4604a40b9fd61b87e9d059fc56f04d36f1a380 (diff) | |
mmc: Take cleanup path to free memory on error exit
Instead of returning -EINVAL directly which will not call the cleanup
path to free memory, fix the code to set the error and then goto the
cleanup code.
This issue found by Smatch.
Signed-off-by: Andrew Goodbody <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
