parser_obj_final Subroutine

private pure subroutine parser_obj_final(this)

Finalizes object and frees allocated memory.

Type Bound

parser_obj

Arguments

Type IntentOptional Attributes Name
class(parser_obj), intent(inout) :: this

Parser object


Source Code

  pure subroutine parser_obj_final(this)
    !> Finalizes object and frees allocated memory.
    implicit none
    class(parser_obj), intent(inout) :: this                                   !! Parser object

    if (allocated(this%entries)) deallocate(this%entries)

    return
  end subroutine parser_obj_final