Condividi tramite


Free Function

Releases a block of memory previously allocated by the Alloc method to the Concurrency Runtime Caching Suballocator.

void __cdecl Free(
   _Pre_maybenull_ _Post_invalid_ void * _PAllocation
);

Parameters

  • _PAllocation
    A pointer to memory previously allocated by the Alloc method which is to be freed. If the parameter _PAllocation is set to the value NULL, this method will ignore it and return immediately.

Remarks

For more information about which scenarios in your application could benefit from using the Caching Suballocator, see Task Scheduler (Concurrency Runtime).

Requirements

Header: concrt.h

Namespace: concurrency

See Also

Reference

concurrency Namespace

Other Resources

Concurrency::Alloc Function