PathEngine home previous: iAllocator::allocate()next: iAllocator::expand()
Contents, API Reference, Interfaces, iAllocator, deallocate

iAllocator::deallocate()

Description

Frees memory previously allocated with allocate().

Syntax

void deallocate(void* ptr);
        

Parameters

ptr A pointer to the memory to be freed.

Remarks

The pointer passed in may be a zero pointer, in which case no action should be taken.

Otherwise, the pointer will be a valid memory block pointer previously returned by allocate() or expand(), and the memory for this pointer should be freed.


Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iAllocator::expand()