FREE(3f)

DESCRIPTION
Frees memory previously allocated by MALLOC. The FREE intrinsic is an extension intended to be used with Cray pointers, and is provided in GNU Fortran to allow user to compile legacy code. For new code using Fortran 95 pointers, the memory de-allocation intrinsic is DEALLOCATE.

STANDARD
GNU extension

CLASS
Subroutine

SYNTAX
CALL FREE(PTR)

ARGUMENTS

PTR The type shall be INTEGER. It represents the location of the memory that should be de-allocated.

RETURN VALUE
None

EXAMPLE
See MALLOC for an example.

SEE ALSO
MALLOC

AUTHOR

This information was taken from the GFortran documentation (https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gfortran/) and converted to a manpage by AstroFloyd (http://astrofloyd.org).