void omp_free (void *ptr, omp_allocator_handle_t allocator);
SummaryThe omp_free routine deallocates previously allocated memory.
EffectThe omp_free routine deallocates the memory to which ptr points. The ptr argument must point to memory previously allocated with a memory allocator. If the allocator argument is specified it must be the memory allocator to which the allocation request was made. If the allocator argument is omp_null_allocator the implementation will determine that value automatically. Using omp_free on memory that was already deallocated or that was allocated by an allocator that has already been destroyed with omp_destroy_allocator results in unspecified behavior.