void omp_free (void *ptr, omp_allocator_handle_t allocator);
Summary The omp_free routine deallocates previously allocated memory.
Binding The binding task set for an omp_free region is the generating task.
Effect The omp_free routine deallocates the memory to which ptr points. The ptr argument must have been returned by an OpenMP allocation routine. 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.
If ptr is NULL (or, C_NULL_PTR, for Fortran), no operation is performed.
The omp_free routine requires an explicit interface and so might not be provided in omp_lib.h.
Restrictions The restrictions to the omp_free routine are as follows: