VirtualBox

Changeset 94834 in vbox


Ignore:
Timestamp:
May 5, 2022 7:51:01 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151232
Message:

Devices/Graphics: sizeof fix: bugref:9830

File:
1 edited

Legend:

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

    r94831 r94834  
    230230     * DX contexts
    231231     */
    232     p3dState->papDXContexts = (PVMSVGA3DDXCONTEXT *)RTMemAlloc(p3dState->cDXContexts * sizeof(VMSVGA3DDXCONTEXT));
     232    p3dState->papDXContexts = (PVMSVGA3DDXCONTEXT *)RTMemAlloc(p3dState->cDXContexts * sizeof(PVMSVGA3DDXCONTEXT));
    233233    AssertReturn(p3dState->papDXContexts, VERR_NO_MEMORY);
    234234    for (uint32_t i = 0; i < p3dState->cDXContexts; ++i)
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