diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-01-19 10:32:38 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-01-19 10:32:38 -0500 |
commit | e60d95acf14bcf98c86a4694e9a56433cf074182 (patch) | |
tree | 599f2026692d3f0d3ec198dd53fe7ac218974acf /indra/newview/llappviewerwin32.cpp | |
parent | 60a9c8d7abe102cefeb72666b9645a6dd34e84b8 (diff) | |
parent | c0fffdea8812e5eed8da9f341d3bfc9590301ada (diff) |
merge
Diffstat (limited to 'indra/newview/llappviewerwin32.cpp')
-rw-r--r-- | indra/newview/llappviewerwin32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llappviewerwin32.cpp b/indra/newview/llappviewerwin32.cpp index 647ace7ee3..8087453ee5 100644 --- a/indra/newview/llappviewerwin32.cpp +++ b/indra/newview/llappviewerwin32.cpp @@ -117,7 +117,7 @@ int APIENTRY WINMAIN(HINSTANCE hInstance, // This results in a 2-3x improvement in opening a new Inventory window (which uses a large numebr of allocations) // Note: This won't work when running from the debugger unless the _NO_DEBUG_HEAP environment variable is set to 1 - _CrtSetDbgFlag(0); // default, just making explicit + _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF); // default, just making explicit ULONG ulEnableLFH = 2; HANDLE* hHeaps = new HANDLE[MAX_HEAPS]; |