summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/8250/8250.c
diff options
context:
space:
mode:
authorChen Gang <gang.chen@asianux.com>2012-12-26 18:06:39 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-15 21:54:41 -0800
commit6d8df4b6a3a46b62b1a6f6e8678ebd3acc6df8c8 (patch)
treea0cd4ee63124659bd3e2577b8415ed57002bda4d /drivers/tty/serial/8250/8250.c
parentf96f7f7f39af53274d98aa9c29d6fa4d122218a4 (diff)
downloadblackbird-op-linux-6d8df4b6a3a46b62b1a6f6e8678ebd3acc6df8c8.tar.gz
blackbird-op-linux-6d8df4b6a3a46b62b1a6f6e8678ebd3acc6df8c8.zip
serial: avoid double free after call ioc4_serial_remove_one
before goto out5, soft, control, serial are all assigned to idd after finish call ioc4_serial_remove_one, all resources are released we need return instead of go on, or double free Signed-off-by: Chen Gang <gang.chen@asianux.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/8250.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud