From Murai Takashi <tmurai01@xxxxxxxxx>:
Murai Takashi has uploaded this change for review. (
https://review.haiku-os.org/c/haiku/+/1059
Change subject: drivers/bus/usb: Fix potential memory leak
......................................................................
drivers/bus/usb: Fix potential memory leak
* Fix potential leak of 'controlData' at line 701, which is allocated
at line 695. Pointed out by Clang Static Analyzer.
* Add NULL check to 'controlData'.
Change-Id: I96b0244d05d303b4c08ac8969f5ce5fc2e5012f9
---
M src/add-ons/kernel/drivers/bus/usb/usb_raw.cpp
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://git.haiku-os.org/haiku refs/changes/59/1059/1
--
To view, visit https://review.haiku-os.org/c/haiku/+/1059
To unsubscribe, or for help writing mail filters, visit
https://review.haiku-os.org/settings
Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I96b0244d05d303b4c08ac8969f5ce5fc2e5012f9
Gerrit-Change-Number: 1059
Gerrit-PatchSet: 1
Gerrit-Owner: Murai Takashi <tmurai01@xxxxxxxxx>
Gerrit-MessageType: newchange