VirtualBox

Ignore:
Timestamp:
Jan 29, 2009 12:08:16 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
42196
Message:

SUPDrv-darwin.cpp: kauth_cred_unref messup in the 10.4u SDK headers, use kauth_cred_rele on 10.4.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp

    r16352 r16356  
    394394
    395395        RTSpinlockReleaseNoInts(g_Spinlock, &Tmp);
     396#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
    396397        kauth_cred_unref(&pCred);
     398#else  /* 10.4 */
     399        /* The 10.4u SDK headers and 10.4.11 kernel source have inconsisten defintions
     400           of kauth_cred_unref(), so use the other (now deprecated) API for releasing it. */
     401        kauth_cred_rele(pCred);
     402#endif /* 10.4 */
    397403    }
    398404    else
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette