]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/IOInterruptController.cpp
xnu-3789.1.32.tar.gz
[apple/xnu.git] / iokit / Kernel / IOInterruptController.cpp
index 95287f584d54be96d1cf7cea76bd6a68d63d80af..fb0aa23b014cc0a600c9cdbac730dd8d03a83f32 100644 (file)
@@ -519,6 +519,7 @@ IOReturn IOSharedInterruptController::registerInterrupt(IOService *nub,
   // Create the vectorData for the IOInterruptSource.
   vectorData = OSData::withBytes(&vectorNumber, sizeof(vectorNumber));
   if (vectorData == 0) {
+    IOLockUnlock(vector->interruptLock);
     return kIOReturnNoMemory;
   }