Skip to content

Commit

Permalink
fix(mem): address memory leaks (#1949)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjr-deltares authored Jul 15, 2024
1 parent 7278b67 commit 01fbaa7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Distributed/VirtualDataManager.f90
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,8 @@ subroutine destroy(this)
end do
deallocate (this%virtual_solutions)

deallocate (this%router)

end subroutine destroy

end module VirtualDataManagerModule
1 change: 1 addition & 0 deletions src/Distributed/VirtualModel.f90
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ subroutine deallocate_data(this)
! DIS
deallocate (this%dis_ndim)
deallocate (this%dis_nodes)
deallocate (this%dis_nodesuser)
deallocate (this%dis_nodeuser)
deallocate (this%dis_nja)
deallocate (this%dis_njas)
Expand Down

0 comments on commit 01fbaa7

Please sign in to comment.