Skip to content
Commit e57b641d authored by Adrian Bunk's avatar Adrian Bunk Committed by Jeff Garzik
Browse files

[netdrvr/usb] hso_create_bulk_serial_device(): fix a double free



hso_serial_common_free() mustn't be called if
hso_serial_common_create() fails.

Reported-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 54069511
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment