From 23b10debf0b460a146dfcc8542af4e5bd69bb67d Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 25 Feb 2017 16:47:22 +0200 Subject: [PATCH] Disable "before-dump" memory allocation on MS-Windows * unexw32.c: Initialize 'using_dynamic_heap' to TRUE. This is because the "before-dump" memory allocation is no longer needed. (Should later remove their implementation from w32heap.c.) --- src/unexw32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unexw32.c b/src/unexw32.c index 904447c3ec9..65f24ca27c1 100644 --- a/src/unexw32.c +++ b/src/unexw32.c @@ -48,7 +48,7 @@ extern char *my_begbss_static; #include "w32heap.h" /* Basically, our "initialized" flag. */ -BOOL using_dynamic_heap = FALSE; +BOOL using_dynamic_heap = TRUE; void get_section_info (file_data *p_file); void copy_executable_and_dump_data (file_data *, file_data *); -- 2.39.5