free_other Subroutine

public subroutine free_other(other)

Frees the memory in the other data (Specifications)

Arguments: other - the other data

Arguments

Type IntentOptional Attributes Name
type(other_type), intent(inout) :: other

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