From bf4eabb4ca3fb1d0c68b375a2a964165776e44cb Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Sat, 24 Oct 2020 22:12:47 +0200 Subject: api: switch to private heap We must not use the process heap, as it is changeable. Client may change it causing our HeapFree() to use wrong heap. Signed-off-by: Simon Rozman --- api/api.h | 1 + 1 file changed, 1 insertion(+) (limited to 'api/api.h') diff --git a/api/api.h b/api/api.h index 48cd7d9..10cb6e0 100644 --- a/api/api.h +++ b/api/api.h @@ -15,4 +15,5 @@ #endif extern HINSTANCE ResourceModule; +extern HANDLE ModuleHeap; extern SECURITY_ATTRIBUTES *SecurityAttributes; -- cgit v1.2.3-59-g8ed1b