VirtualBox

Changeset 39486 in vbox for trunk/src/VBox/Additions/WINNT


Ignore:
Timestamp:
Dec 1, 2011 9:53:49 AM (13 years ago)
Author:
vboxsync
Message:

wine/xpdm: proper buffer allocation size

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/swapchain.c

    r39016 r39486  
    12361236    /* no need to do anything since context gets added to the device context list within the context_create call */
    12371237#else
    1238     newArray = HeapAlloc(GetProcessHeap(), 0, sizeof(*newArray) * This->num_contexts + 1);
     1238    newArray = HeapAlloc(GetProcessHeap(), 0, sizeof(*newArray) * (This->num_contexts + 1));
    12391239    if(!newArray) {
    12401240        ERR("Out of memory when trying to allocate a new context array\n");
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