VirtualBox

Changeset 26905 in vbox for trunk/src


Ignore:
Timestamp:
Mar 1, 2010 11:32:02 AM (15 years ago)
Author:
vboxsync
Message:

Additions/win: No redundant call to vmmdevInitRequest() after VbglGRAlloc()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxGuest/VBoxGuest.cpp

    r26388 r26905  
    577577        return rc;
    578578
    579     vmmdevInitRequest(&req->header, VMMDevReq_ChangeMemBalloon);
    580 
    581579    if (u32BalloonSize > pDevExt->MemBalloon.cBalloons)
    582580    {
     
    738736
    739737    int rc = VbglGRAlloc((VMMDevRequestHeader **)&req, sizeof(VMMDevGetMemBalloonChangeRequest), VMMDevReq_GetMemBalloonChangeRequest);
    740     vmmdevInitRequest(&req->header, VMMDevReq_GetMemBalloonChangeRequest);
    741738    req->eventAck = VMMDEV_EVENT_BALLOON_CHANGE_REQUEST;
    742739
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