diff --git a/src/add-ons/kernel/bus_managers/usb/Pipe.cpp b/src/add-ons/kernel/bus_managers/usb/Pipe.cpp index 4b40d5e2a1..c4bafe2348 100644 --- a/src/add-ons/kernel/bus_managers/usb/Pipe.cpp +++ b/src/add-ons/kernel/bus_managers/usb/Pipe.cpp @@ -301,6 +301,7 @@ ControlPipe::~ControlPipe() { if (fNotifySem >= 0) delete_sem(fNotifySem); + mutex_lock(&fSendRequestLock); mutex_destroy(&fSendRequestLock); }