VirtualBox

Ignore:
Timestamp:
May 10, 2009 10:32:03 PM (16 years ago)
Author:
vboxsync
Message:

Runtime/r0drv-freebsd: Allocate zeroed memory for the mutexes or we panic when several debugging options are enabled in the kernel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/freebsd/semevent-r0drv-freebsd.c

    r18972 r19565  
    6969    AssertPtrReturn(pEventSem, VERR_INVALID_POINTER);
    7070
    71     PRTSEMEVENTINTERNAL pEventInt = (PRTSEMEVENTINTERNAL)RTMemAlloc(sizeof(*pEventInt));
     71    PRTSEMEVENTINTERNAL pEventInt = (PRTSEMEVENTINTERNAL)RTMemAllocZ(sizeof(*pEventInt));
    7272    if (pEventInt)
    7373    {
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