[vbox-dev] VBoxUSBMon.cpp patch

Ribhi Kamal rbhkamal at gmail.com
Fri Sep 2 14:55:58 GMT 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.html>


More information about the vbox-dev mailing list