VirtualBox

Changeset 102996 in vbox


Ignore:
Timestamp:
Jan 23, 2024 9:52:08 AM (15 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161228
Message:

libs/xpcom/tstTestHastables: Need to initialize IPRT or we assert in the lock validator with an asan build when running the testcase, bugref:10545

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/tests/TestHashtables.cpp

    r99527 r102996  
    3636 * ***** END LICENSE BLOCK ***** */
    3737
     38#include <iprt/initterm.h>
     39
    3840#include "nsTHashtable.h"
    3941#include "nsBaseHashtable.h"
     
    399401
    400402int
    401 main(void) {
     403main(int argc, char *argv[]) {
     404  RTR3InitExe(argc, &argv, 0);
     405
    402406  // check an nsTHashtable
    403407  nsTHashtable<EntityToUnicodeEntry> EntityToUnicode;
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