VirtualBox

Changeset 24247 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Nov 2, 2009 12:14:23 PM (15 years ago)
Author:
vboxsync
Message:

Solaris/mem-obj: some missed cleanup on errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/solaris/vbi/memobj-r0drv-solaris.c

    r23610 r24247  
    230230    {
    231231        cmn_err(CE_NOTE,"rtR0MemObjNativeLockUser: vbi_lock_va failed rc=%d\n", rc);
     232        rtR0MemObjDelete(&pMemSolaris->Core);
    232233        return VERR_LOCK_FAILED;
    233234    }
     
    253254    {
    254255        cmn_err(CE_NOTE,"rtR0MemObjNativeLockKernel: vbi_lock_va failed rc=%d\n", rc);
     256        rtR0MemObjDelete(&pMemSolaris->Core);
    255257        return VERR_LOCK_FAILED;
    256258    }
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