diff options
author | Simon Rozman <simon@rozman.si> | 2020-10-24 22:12:47 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-10-30 16:51:01 +0100 |
commit | bf4eabb4ca3fb1d0c68b375a2a964165776e44cb (patch) | |
tree | 4fe9d219bf6c64a7447caa17eb4f33405f4d7647 /api/api.h | |
parent | api: add ring management (diff) | |
download | wintun-bf4eabb4ca3fb1d0c68b375a2a964165776e44cb.tar.xz wintun-bf4eabb4ca3fb1d0c68b375a2a964165776e44cb.zip |
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 <simon@rozman.si>
Diffstat (limited to 'api/api.h')
-rw-r--r-- | api/api.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -15,4 +15,5 @@ #endif extern HINSTANCE ResourceModule; +extern HANDLE ModuleHeap; extern SECURITY_ATTRIBUTES *SecurityAttributes; |