aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi
diff options
context:
space:
mode:
authorRichard Genoud <[email protected]>2024-06-18 16:18:49 +0200
committerAlexandre Belloni <[email protected]>2024-06-28 00:18:55 +0200
commit94d4154792abf30ee6081d35beaeef035816e294 (patch)
treec5a64366d526331cab8ae26ef04591233525d97e /lib/crypto/mpi
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff)
rtc: tps6594: Fix memleak in probe
struct rtc_device is allocated twice in probe(), once with devm_kzalloc(), and then with devm_rtc_allocate_device(). The allocation with devm_kzalloc() is lost and superfluous. Fixes: 9f67c1e63976 ("rtc: tps6594: Add driver for TPS6594 RTC") Signed-off-by: Richard Genoud <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'lib/crypto/mpi')
0 files changed, 0 insertions, 0 deletions