free_other Subroutine

public subroutine free_other(other)

Frees the memory in the other data (Specifications)

Arguments: other - the other data

Arguments

TypeIntentOptionalAttributesName
type(other_type), intent(inout) :: other

Contents

Source Code


Source Code

    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