summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-10-14 12:40:20 +0100
committerGitHub <noreply@github.com>2020-10-14 12:40:20 +0100
commite9858645b26adb7aa2dc9034034bc5744b3cd690 (patch)
treec34e76fb3741efbb1503d07d4447b88e8dcbbe7f /src
parentc964f73d3f5a6529bba87c0ad1e484e2a5db87ee (diff)
parent4a0dceebe4038b2b14460956105100d159c2e628 (diff)
downloadlibgit2-e9858645b26adb7aa2dc9034034bc5744b3cd690.tar.gz
Merge pull request #5661 from lhchavez/windows-leak-detection-deflake
Make the Windows leak detection more robust
Diffstat (limited to 'src')
-rw-r--r--src/win32/w32_crtdbg_stacktrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/w32_crtdbg_stacktrace.c b/src/win32/w32_crtdbg_stacktrace.c
index cdb5ac1a5..22a353d58 100644
--- a/src/win32/w32_crtdbg_stacktrace.c
+++ b/src/win32/w32_crtdbg_stacktrace.c
@@ -57,7 +57,7 @@ static CRITICAL_SECTION g_crtdbg_stacktrace_cs;
* it and try again.
*/
-#define MY_ROW_LIMIT (1024 * 1024)
+#define MY_ROW_LIMIT (2 * 1024 * 1024)
static git_win32__crtdbg_stacktrace__row g_cs_rows[MY_ROW_LIMIT];
static git_win32__crtdbg_stacktrace__row *g_cs_index[MY_ROW_LIMIT];