VirtualBox

Changeset 94831 in vbox for trunk/src/VBox/Devices/Graphics


Ignore:
Timestamp:
May 5, 2022 6:40:58 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151229
Message:

Devices/Graphics: sizeof fix: bugref:9830

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-dx-savedstate.cpp

    r94377 r94831  
    212212     * Surfaces
    213213     */
    214     p3dState->papSurfaces = (PVMSVGA3DSURFACE *)RTMemAlloc(p3dState->cSurfaces * sizeof(VMSVGA3DSURFACE));
     214    p3dState->papSurfaces = (PVMSVGA3DSURFACE *)RTMemAlloc(p3dState->cSurfaces * sizeof(PVMSVGA3DSURFACE));
    215215    AssertReturn(p3dState->papSurfaces, VERR_NO_MEMORY);
    216216    for (uint32_t i = 0; i < p3dState->cSurfaces; ++i)
Note: See TracChangeset for help on using the changeset viewer.

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