Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(provenance_t), | pointer | :: | p |
subroutine destroy_provenance(p)
type(provenance_t), pointer :: p
type(provenance_t), pointer :: q
do while (associated(p))
call ps_clean_annotation(p%annotation)
! clean buffers for input files?
q => p%next
deallocate(p)
p => q
enddo
end subroutine destroy_provenance