Frees the memory in the other data (Specifications)
Arguments: other - the other data
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(other_type), | intent(inout) | :: | other |
subroutine free_other( other )
!! Version: Experimental
!!
!! Frees the memory in the other data
!! ([Specifications](../page/specs/stdlib_hashmaps.html#free_other-frees-the-memory-associated-with-other-data))
!!
!! Arguments:
!! other - the other data
type(other_type), intent(inout) :: other
if ( allocated( other % value) ) deallocate( other % value )
end subroutine free_other