Finalizes the mark object by deallocating allocated memory for method and description.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mark), | intent(inout) | :: | this |
Mark object to be finalized |
pure elemental subroutine finalize_mark(this) !! author: Seyed Ali Ghasemi !! Finalizes the mark object by deallocating allocated memory for method and description. !! class(mark), intent(inout) :: this !! Mark object to be finalized if (allocated(this%method)) deallocate(this%method) if (allocated(this%description)) deallocate(this%description) end subroutine finalize_mark