mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
bug 113833 preventing initalization of trace malloc stuff unless
--trace-malloc command line is given. sr=dveditz
This commit is contained in:
parent
5d9dc92c2c
commit
bc26d6a0ca
@ -1712,7 +1712,8 @@ PR_IMPLEMENT(int) NS_TraceMallocStartupArgs(int argc, char* argv[])
|
||||
}
|
||||
}
|
||||
|
||||
NS_TraceMallocStartup(logfd);
|
||||
if (logfd >= 0)
|
||||
NS_TraceMallocStartup(logfd);
|
||||
return argc;
|
||||
}
|
||||
|
||||
|
@ -1712,7 +1712,8 @@ PR_IMPLEMENT(int) NS_TraceMallocStartupArgs(int argc, char* argv[])
|
||||
}
|
||||
}
|
||||
|
||||
NS_TraceMallocStartup(logfd);
|
||||
if (logfd >= 0)
|
||||
NS_TraceMallocStartup(logfd);
|
||||
return argc;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user