#13185: [Patch] add-ons/kernel/drivers/common/usb_modeswitch.cpp: fix use after
free.
---------------------------+----------------------------
Reporter: mt | Owner: mmlr
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Drivers/USB | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 1 | Platform: All
---------------------------+----------------------------
Comment (by korli):
1/ drop the else
2/ "id" isn't a nice name, for instance notifySemId is better.
--
Ticket URL: <https://dev.haiku-os.org/ticket/13185#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.