Skip to content

Commit

Permalink
fix(csub): fix minor memory leak in csub (MODFLOW-USGS#1942)
Browse files Browse the repository at this point in the history
continuation of MODFLOW-USGS#1935
  • Loading branch information
jdhughes-usgs authored Jul 12, 2024
1 parent 9d55d58 commit 47762d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/GroundWaterFlow/gwf-csub.f90
Original file line number Diff line number Diff line change
Expand Up @@ -2421,7 +2421,7 @@ subroutine csub_da(this)
end if
!
! -- output table
if (this%istrainib > 0 .or. this%istrainsk > 0) then
if (associated(this%outputtab)) then
call this%outputtab%table_da()
deallocate (this%outputtab)
nullify (this%outputtab)
Expand Down

0 comments on commit 47762d4

Please sign in to comment.