diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-04-25 12:14:39 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2018-09-27 12:01:45 +0200 |
commit | 52bf4a900d9cede3eb14982d0f2c5e6db6d97cc3 (patch) | |
tree | 906874b02bd01b43125047dc82aa700226c94cdb /drivers/scsi/snic | |
parent | clocksource/drivers/fttmr010: Fix set_next_event handler (diff) | |
download | linux-52bf4a900d9cede3eb14982d0f2c5e6db6d97cc3.tar.xz linux-52bf4a900d9cede3eb14982d0f2c5e6db6d97cc3.zip |
clocksource/drivers/timer-atmel-pit: Properly handle error cases
The smatch utility reports a possible leak:
smatch warnings:
drivers/clocksource/timer-atmel-pit.c:183 at91sam926x_pit_dt_init() warn: possible memory leak of 'data'
Ensure data is freed before exiting with an error.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/scsi/snic')
0 files changed, 0 insertions, 0 deletions