mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Make leaksoup not print static ctor/dtor warnings.
This commit is contained in:
parent
7eb858b4c6
commit
5595712db2
@ -42,6 +42,7 @@
|
||||
|
||||
#include "nsVoidArray.h"
|
||||
#include "nsQuickSort.h"
|
||||
#include "nsXPCOM.h"
|
||||
|
||||
/*
|
||||
* Read in an allocation dump, presumably one taken at shutdown (using
|
||||
@ -132,6 +133,8 @@ int main(int argc, char **argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
NS_InitXPCOM2(NULL, NULL, NULL);
|
||||
|
||||
ADLog log;
|
||||
if (!log.Read(argv[1])) {
|
||||
fprintf(stderr,
|
||||
@ -434,5 +437,7 @@ int main(int argc, char **argv)
|
||||
delete [] sorted_nodes;
|
||||
delete [] nodes;
|
||||
|
||||
NS_ShutdownXPCOM(NULL);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user