VirtualBox

Ignore:
Timestamp:
May 21, 2010 4:00:02 PM (15 years ago)
Author:
vboxsync
Message:

HGCM: fixed memory leak (xTracker 4961).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VMMDevHGCM.cpp

    r28800 r29743  
    10661066        rc = pVMMDevState->pHGCMDrv->pfnCall (pVMMDevState->pHGCMDrv, pCmd, pHGCMCall->u32ClientID,
    10671067                                              pHGCMCall->u32Function, cParms, pCmd->paHostParms);
    1068     }
    1069     else
     1068
     1069        if (RT_FAILURE (rc))
     1070        {
     1071            Log(("vmmdevHGCMCall: pfnCall failed rc = %Rrc\n", rc));
     1072            vmmdevHGCMRemoveCommand (pVMMDevState, pCmd);
     1073        }
     1074    }
     1075
     1076    if (RT_FAILURE (rc))
    10701077    {
    10711078        if (pCmd->paLinPtrs)
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