Commit d2f54e1b40 for openssl.org
commit d2f54e1b406614efc3248a5da85dfeba1d8eb519
Author: Norbert Pocs <norbertp@openssl.org>
Date: Thu Feb 12 11:38:15 2026 +0100
windows: Remove redundant include
The functions malloc, realloc and free are included from stdlib,
therefore no need for redundant malloc.h include.
Signed-off-by: Norbert Pocs <norbertp@openssl.org>
Reviewed-by: Saša NedvÄ›dický <sashan@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
MergeDate: Fri Feb 13 15:13:13 2026
(Merged from https://github.com/openssl/openssl/pull/29989)
diff --git a/apps/lib/win32_init.c b/apps/lib/win32_init.c
index ff05730414..32ea0c9845 100644
--- a/apps/lib/win32_init.c
+++ b/apps/lib/win32_init.c
@@ -10,7 +10,6 @@
#include <windows.h>
#include <stdlib.h>
#include <string.h>
-#include <malloc.h>
#if defined(CP_UTF8)