src/magsurf_data.f90: fix memory leak
This commit is contained in:
parent
b1694bc575
commit
4f867bad14
@ -97,6 +97,7 @@ contains
|
||||
if(allocated(cratjpl)) deallocate(cratjpl)
|
||||
if(allocated(cratja)) deallocate(cratja)
|
||||
if(allocated(cratjb)) deallocate(cratjb)
|
||||
if(allocated(tjp)) deallocate(tjp,tlm,ch)
|
||||
end subroutine dealloc_surfvec
|
||||
|
||||
|
||||
@ -420,6 +421,7 @@ contains
|
||||
call print_contour(psicon(jp),rcon(:,jp),zcon(:,jp))
|
||||
end do
|
||||
|
||||
deallocate(rctemp, zctemp)
|
||||
end subroutine flux_average
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user