diff options
| author | Sudip Mukherjee <[email protected]> | 2016-12-18 22:26:36 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2016-12-19 10:19:57 +0000 |
| commit | c9435f35ae64ee162555a82b6a3586b160093957 (patch) | |
| tree | bf2e4cb2375b202d0affeead14cdcdbc03b7b9f2 /net/lapb/lapb_out.c | |
| parent | Merge tag 'rtc-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/abellon... (diff) | |
| download | kernel-c9435f35ae64ee162555a82b6a3586b160093957.tar.gz kernel-c9435f35ae64ee162555a82b6a3586b160093957.zip | |
clocksource/drivers/moxart: Plug memory and mapping leaks
If of_iomap() or any other subsequent function fails moxart_timer_init()
exits without freeing memory and unmapping the timer base.
Add proper cleanup points.
Signed-off-by: Sudip Mukherjee <[email protected]>
Cc: Daniel Lezcano <[email protected]>
Cc: Sudip Mukherjee <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions
