ReactOS
0.4.17-dev-1371-g303d27d
free.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS CRT heap support library
3
* LICENSE: MIT (https://spdx.org/licenses/MIT)
4
* PURPOSE: Implementation of free
5
* COPYRIGHT: Copyright 2026 Timo Kreuzer <timo.kreuzer@reactos.org>
6
*/
7
8
#include <malloc.h>
9
#include <
windef.h
>
10
#include <
winbase.h
>
11
12
void
__cdecl
free
(
void
*
Block
)
13
{
14
HeapFree
(
GetProcessHeap
(), 0,
Block
);
15
}
free
#define free
Definition:
debug_ros.c:5
GetProcessHeap
#define GetProcessHeap()
Definition:
compat.h:736
HeapFree
#define HeapFree(x, y, z)
Definition:
compat.h:735
__cdecl
#define __cdecl
Definition:
corecrt.h:121
Block
PUSBUSER_REQUEST_HEADER Block
Definition:
userreq.cpp:697
winbase.h
windef.h
sdk
lib
crtheap
free.c
Generated on Sun Nov 22 2026 06:22:20 for ReactOS by
1.9.6