diff --git a/src/add-ons/kernel/busses/usb/ehci.cpp b/src/add-ons/kernel/busses/usb/ehci.cpp index cec3fbb957..f1164e0245 100644 --- a/src/add-ons/kernel/busses/usb/ehci.cpp +++ b/src/add-ons/kernel/busses/usb/ehci.cpp @@ -659,6 +659,7 @@ EHCI::~EHCI() delete_sem(fAsyncAdvanceSem); delete_sem(fFinishTransfersSem); delete_sem(fFinishIsochronousTransfersSem); + delete_sem(fCleanupSem); wait_for_thread(fFinishThread, &result); wait_for_thread(fCleanupThread, &result); wait_for_thread(fFinishIsochronousThread, &result);