[vbox-dev] VBoxUSBMon.cpp patch

Ribhi Kamal rbhkamal at gmail.com
Fri Sep 2 07:55:58 PDT 2011


It seems that vbox is not dereferencing the hub object all the time.

Index: VBoxUsbMon.cpp
===================================================================
--- VBoxUsbMon.cpp    (revision 38578)
+++ VBoxUsbMon.cpp    (working copy)
@@ -560,6 +560,7 @@
                     {
                         LOG(("the walker said to stop"));
                         ObDereferenceObject(Data.pDevObj);
+                        ObDereferenceObject(pHubFileObj);
                         break;
                     }



Above patch is MIT licensed


Thanks,
-- Ribhi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20110902/82aa4949/attachment-0001.html 


More information about the vbox-dev mailing list