Improve checks for SLU/SLUDIST %free()

pizdaint-runs
Salvatore Filippone 5 years ago
parent 32d550ed05
commit a83ccc7f52

@ -332,9 +332,8 @@ contains
call psb_erractionsave(err_act)
if (c_associated(sv%lufactors)) then
info = mld_cslu_free(sv%lufactors)
end if
info = psb_success_
if (c_associated(sv%lufactors)) info = mld_cslu_free(sv%lufactors)
sv%lufactors = c_null_ptr
if (info /= psb_success_) goto 9999

@ -332,9 +332,8 @@ contains
call psb_erractionsave(err_act)
if (c_associated(sv%lufactors)) then
info = mld_dslu_free(sv%lufactors)
end if
info = psb_success_
if (c_associated(sv%lufactors)) info = mld_dslu_free(sv%lufactors)
sv%lufactors = c_null_ptr
if (info /= psb_success_) goto 9999

@ -343,10 +343,8 @@ contains
call psb_erractionsave(err_act)
if (c_associated(sv%lufactors)) then
info = mld_dsludist_free(sv%lufactors)
end if
info = psb_success_
if (c_associated(sv%lufactors)) info = mld_dsludist_free(sv%lufactors)
sv%lufactors = c_null_ptr
if (info /= psb_success_) goto 9999

@ -332,9 +332,8 @@ contains
call psb_erractionsave(err_act)
if (c_associated(sv%lufactors)) then
info = mld_sslu_free(sv%lufactors)
end if
info = psb_success_
if (c_associated(sv%lufactors)) info = mld_sslu_free(sv%lufactors)
sv%lufactors = c_null_ptr
if (info /= psb_success_) goto 9999

@ -332,9 +332,8 @@ contains
call psb_erractionsave(err_act)
if (c_associated(sv%lufactors)) then
info = mld_zslu_free(sv%lufactors)
end if
info = psb_success_
if (c_associated(sv%lufactors)) info = mld_zslu_free(sv%lufactors)
sv%lufactors = c_null_ptr
if (info /= psb_success_) goto 9999

@ -343,10 +343,8 @@ contains
call psb_erractionsave(err_act)
if (c_associated(sv%lufactors)) then
info = mld_zsludist_free(sv%lufactors)
end if
info = psb_success_
if (c_associated(sv%lufactors)) info = mld_zsludist_free(sv%lufactors)
sv%lufactors = c_null_ptr
if (info /= psb_success_) goto 9999

Loading…
Cancel
Save