VirtualBox

Changeset 63453 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Aug 15, 2016 12:42:00 AM (8 years ago)
Author:
vboxsync
Message:

VBoxGuest-netbsd.c: unmap alreay mapped registers on attach error leg too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-netbsd.c

    r63450 r63453  
    543543                aprint_error_dev(vboxguest->sc_dev, "init failed\n");
    544544            }
     545            bus_space_unmap(vboxguest->iVMMDevMemResId, vboxguest->VMMDevMemHandle, vboxguest->VMMDevMemSize);
    545546        } else {
    546547            aprint_error_dev(vboxguest->sc_dev, "MMIO mapping failed\n");
    547548        }
     549        bus_space_unmap(vboxguest->io_tag, vboxguest->io_handle, vboxguest->io_regsize);
    548550    } else {
    549551        aprint_error_dev(vboxguest->sc_dev, "IO mapping failed\n");
Note: See TracChangeset for help on using the changeset viewer.

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