VirtualBox

Ignore:
Timestamp:
Jun 8, 2012 5:37:38 PM (13 years ago)
Author:
vboxsync
Message:

Runtime/r0drv/solaris: Off-by-one error fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/solaris/memobj-r0drv-solaris.c

    r41628 r41629  
    246246                     * No pages found or found pages didn't meet requirements, release what was grabbed so far.
    247247                     */
    248                     for (size_t k = 0; k <= i; k++)
     248                    for (size_t k = 0; k < i; k++)
    249249                        page_destroy(ppPages[k], 0 /* move it to the free list */);
    250250                    kmem_free(ppPages, cbPages);
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