VirtualBox

Ignore:
Timestamp:
Jun 28, 2018 1:44:23 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123255
Message:

Replace explicit uses of lsan_ignore_object() by RTMEM_WILL_LEAK().
bugref:8019: GCC sanitisers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ptthread.c

    r72602 r72721  
    521521                rv = RTThreadCreateF(&hThread, _pt_iprt_root, thred, stackSize, enmType, fFlags, "nspr-%u", ASMAtomicIncU32(&s_iThread));
    522522                if (RT_SUCCESS(rv)) {
    523 #ifdef VBOX_WITH_GCC_SANITIZER
    524                         __lsan_ignore_object(hThread);
     523#ifdef VBOX_USE_IPRT_IN_NSPR
     524                        RTMEM_WILL_LEAK(hThread);
    525525#endif
    526526                        id = (pthread_t)RTThreadGetNative(hThread);
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