Fix free for jac_solver

maint-1.1
sfilippone 11 months ago
parent 1dcb542e4a
commit 5fbdfb1436

@ -403,7 +403,10 @@ contains
info = psb_success_
call sv%a%free()
call sv%dv%free(info)
if (allocated(sv%dv)) then
call sv%dv%free(info)
deallocate(sv%dv)
end if
if (allocated(sv%d)) deallocate(sv%d)
call psb_erractionrestore(err_act)

@ -403,7 +403,10 @@ contains
info = psb_success_
call sv%a%free()
call sv%dv%free(info)
if (allocated(sv%dv)) then
call sv%dv%free(info)
deallocate(sv%dv)
end if
if (allocated(sv%d)) deallocate(sv%d)
call psb_erractionrestore(err_act)

@ -403,7 +403,10 @@ contains
info = psb_success_
call sv%a%free()
call sv%dv%free(info)
if (allocated(sv%dv)) then
call sv%dv%free(info)
deallocate(sv%dv)
end if
if (allocated(sv%d)) deallocate(sv%d)
call psb_erractionrestore(err_act)

@ -403,7 +403,10 @@ contains
info = psb_success_
call sv%a%free()
call sv%dv%free(info)
if (allocated(sv%dv)) then
call sv%dv%free(info)
deallocate(sv%dv)
end if
if (allocated(sv%d)) deallocate(sv%d)
call psb_erractionrestore(err_act)

Loading…
Cancel
Save