integer fdds_free(ptr)
fdds_free frees allocated memory. If a NULL pointer is passed, then no freeing of memory is done. The DDS memory routines allow for runtime memory checking. See standard man page for free(3).
fdds_malloc Allocate memory fdds_malloc8 Allocate memory fdds_calloc Allocate memory fdds_calloc8 Allocate memory fdds_realloc Reallocate memory fdds_realloc8 Reallocate memory fdds_memuse Query allocated memory
integer reals real buf(*) pointer(ptr_buf, buf) ptr_buf = fdds_malloc(reals*SIZEOF_REAL) ... fdds_free(ptr_buf)