Navigation
API > API/Runtime > API/Runtime/Navmesh
Warnings * This function leaves the value of `ptr_ unchanged. So it still points to the same (now invalid) location, and not to null.
Description
Deallocates a memory block.
This function leaves the value of `ptr_ unchanged. So it still points to the same (now invalid) location, and not to null.
| Name | rcFree |
| Type | function |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Recast/RecastAlloc.h |
| Include Path | #include "Recast/RecastAlloc.h" |
| Source | /Engine/Source/Runtime/Navmesh/Private/Recast/RecastAlloc.cpp |
void rcFree
(
void * ptr
)
Parameters
| Name | Remarks |
|---|---|
| ptr | A pointer to a memory block previously allocated using rcAlloc. |
See Also
-
rcAlloc
-
rcAllocSetCustom