VirtualBox

Changeset 3338 in kBuild


Ignore:
Timestamp:
Apr 22, 2020 6:40:19 PM (5 years ago)
Author:
bird
Message:

kWorker: Fixed bad paMemMappings realloc call. (Caused trouble with moc.exe as it is doing lots of memory mappings.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kWorker/kWorker.c

    r3337 r3338  
    76487648                else
    76497649                    cNew = 32;
    7650                 pvNew = kHlpRealloc(g_Sandbox.paMemMappings, cNew * sizeof(g_Sandbox.paMemMappings));
     7650                pvNew = kHlpRealloc(g_Sandbox.paMemMappings, cNew * sizeof(g_Sandbox.paMemMappings[0]));
    76517651                if (pvNew)
    76527652                    g_Sandbox.paMemMappings = (PKWMEMMAPPING)pvNew;
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