destroy_dependency_node Subroutine

public elemental subroutine destroy_dependency_node(self)

Destructor

Arguments

Type IntentOptional Attributes Name
class(dependency_node_t), intent(inout) :: self

Source Code

    elemental subroutine destroy_dependency_node(self)

        class(dependency_node_t), intent(inout) :: self

        integer :: ierr

        call dependency_destroy(self)

        deallocate(self%version,stat=ierr)
        deallocate(self%proj_dir,stat=ierr)
        deallocate(self%revision,stat=ierr)
        self%done = .false.
        self%update = .false.
        self%cached = .false.

    end subroutine destroy_dependency_node