DMMS (Dynamic Memory Management System)

NAME

hpdeallc - Memory deallocation routine

USAGE

call hpdeallc(ptr,errcode,abort)

DESCRIPTION

Deallocate a block of memory previously allocated by hpalloc. Also performs an integrity check on the block to ensure that no control byte has been overwritten.
(click here for an example of use)
ARGUMENTS

ptr

Pointer (FORTRAN POINTER type variable) to be deallocated.

errcode

Returned error code. A value of 0 will be returned upon successful completion. A negative number will be returned upon failure.

abort

Integer variable (not used, kept for backward compatibility)
AUTHOR
Mario Lépine - RPN
NOTES
Debugging aids can be obtained via some environment variables such as DEBUG_MODE, INITMEM, BAD_POINTER.

SEE ALSO

( hpalloc, memoirc, hpcheck, bkcheck, dmmsdbg)