aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2021-03-22 16:53:11 +0100
committerGreg Kroah-Hartman <[email protected]>2021-03-23 13:27:13 +0100
commit7180495cb3d0e2a2860d282a468b4146c21da78f (patch)
tree76a8dbdce08c8d7029eb10a92a7e38e37ad91a76 /scripts/gdb/linux/tasks.py
parente4c77070ad45fc940af1d7fb1e637c349e848951 (diff)
USB: cdc-acm: fix double free on probe failure
If tty-device registration fails the driver copy of any Country Selection functional descriptor would end up being freed twice; first explicitly in the error path and then again in the tty-port destructor. Drop the first erroneous free that was left when fixing a tty-port resource leak. Fixes: cae2bc768d17 ("usb: cdc-acm: Decrement tty port's refcount if probe() fail") Cc: [email protected] # 4.19 Cc: Jaejoong Kim <[email protected]> Acked-by: Oliver Neukum <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions