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