Skip to content
Commit 6d8df4b6 authored by Chen Gang's avatar Chen Gang Committed by Greg Kroah-Hartman
Browse files

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: default avatarChen Gang <gang.chen@asianux.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f96f7f7f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment