VirtualBox

Changeset 24163 in vbox


Ignore:
Timestamp:
Oct 29, 2009 3:28:25 PM (15 years ago)
Author:
vboxsync
Message:

2d accel: propper command release on failure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp

    r24162 r24163  
    932932            rc = pCmd->rc;
    933933            AssertMsg(RT_SUCCESS(rc) || rc == VERR_NOT_IMPLEMENTED, ("%Rrc\n", rc));
    934             vbvaVHWAHHCommandRelease(pCmd);
    935934            if(rc == VERR_NOT_IMPLEMENTED)
    936935            {
     
    940939            }
    941940        }
     941
     942        vbvaVHWAHHCommandRelease(pCmd);
     943
    942944        return rc;
    943945    }
     
    964966            AssertRC(rc);
    965967#endif
    966             vbvaVHWAHHCommandRelease(pCmd);
    967         }
     968        }
     969
     970        vbvaVHWAHHCommandRelease(pCmd);
     971
    968972        return rc;
    969973    }
     
    984988            rc = pCmd->rc;
    985989            AssertMsg(RT_SUCCESS(rc) || rc == VERR_NOT_IMPLEMENTED, ("%Rrc\n", rc));
    986             vbvaVHWAHHCommandRelease(pCmd);
    987990            if(rc == VERR_NOT_IMPLEMENTED)
    988991            {
     
    990993            }
    991994        }
     995
     996        vbvaVHWAHHCommandRelease(pCmd);
     997
    992998        return rc;
    993999    }
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