Skip to content

Commit 01fbaa7

Browse files
authored
fix(mem): address memory leaks (#1949)
1 parent 7278b67 commit 01fbaa7

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/Distributed/VirtualDataManager.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,8 @@ subroutine destroy(this)
454454
end do
455455
deallocate (this%virtual_solutions)
456456

457+
deallocate (this%router)
458+
457459
end subroutine destroy
458460

459461
end module VirtualDataManagerModule

src/Distributed/VirtualModel.f90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ subroutine deallocate_data(this)
280280
! DIS
281281
deallocate (this%dis_ndim)
282282
deallocate (this%dis_nodes)
283+
deallocate (this%dis_nodesuser)
283284
deallocate (this%dis_nodeuser)
284285
deallocate (this%dis_nja)
285286
deallocate (this%dis_njas)

0 commit comments

Comments
 (0)