VirtualBox

Changeset 6735 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 1, 2008 8:56:30 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
27817
Message:

Move RTLdrClose inside the if so that it is only called if RTLdrLoad succeeds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VBoxHDD-new.cpp

    r6374 r6735  
    818818                else
    819819                    pBackend = NULL;
     820
     821                RTLdrClose(hPlugin);
    820822            }
    821             RTLdrClose(hPlugin);
     823
    822824            /*
    823825             * We take the first plugin which can handle this file.
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette