Skip to content

Commit

Permalink
add deallocation, question on matrix memory
Browse files Browse the repository at this point in the history
  • Loading branch information
eve70a committed Apr 23, 2024
1 parent c09c55b commit 5168439
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/geometry_fexample.F90
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@ subroutine show_basic_usage( g )
do irow = 1, out_rows
write(*,'(3a,10f10.3)') ' ',c_coor(irow),': ', (xyz(irow,icol), icol=1,out_cols)
enddo

call gsMatrix_delete(uvm)
call gsMatrix_delete(xyzm)
deallocate(uv)
! TODO: deallocate memory allocated by gsMatrix_data? Or is xyz1 pointing inside xyzm?

end subroutine show_basic_usage

Expand Down

0 comments on commit 5168439

Please sign in to comment.