Skip to content

Commit

Permalink
deallocates the weight sum in flush buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
uramirez8707 committed Feb 21, 2024
1 parent cc41191 commit 7289d41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions diag_manager/fms_diag_output_buffer.F90
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ subroutine flush_buffer(this)
if (allocated(this%buffer_dims)) deallocate(this%buffer_dims)
if (allocated(this%num_elements)) deallocate(this%num_elements)
if (allocated(this%axis_ids)) deallocate(this%axis_ids)
if (allocated(this%weight_sum)) deallocate(this%weight_sum)
end subroutine flush_buffer

!> Allocates a 5D buffer to given buff_type.
Expand Down

0 comments on commit 7289d41

Please sign in to comment.