aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorZongmin Zhou <[email protected]>2023-11-20 23:48:17 +0900
committerSteve French <[email protected]>2023-11-23 20:50:44 -0600
commit90044481e7cca6cb3125b3906544954a25f1309f (patch)
tree8c4048dfa62c8303df82003d192519b8a7859a57 /scripts/generate_rust_analyzer.py
parent98b1cc82c4affc16f5598d4fa14b1858671b2263 (diff)
ksmbd: prevent memory leak on error return
When allocated memory for 'new' failed,just return will cause memory leak of 'ar'. Fixes: 1819a9042999 ("ksmbd: reorganize ksmbd_iov_pin_rsp()") Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Closes: https://lore.kernel.org/r/[email protected]/ Signed-off-by: Zongmin Zhou<[email protected]> Acked-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions