Fixed poor deallocation. :-( 6am coding == bugs.

This commit is contained in:
Adam Nelson 2015-11-25 09:50:56 -05:00
parent 42d2673ab9
commit ca602e8b97

View file

@ -667,7 +667,11 @@ contains
if (allocated(this % total)) then
deallocate(this % total, this % absorption, &
this % nu_fission, this % fission)
this % nu_fission)
end if
if (allocated(this % fission)) then
deallocate(this % fission)
end if
if (allocated(this % k_fission)) then
@ -689,7 +693,11 @@ contains
if (allocated(this % total)) then
deallocate(this % total, this % absorption, &
this % nu_fission, this % fission)
this % nu_fission)
end if
if (allocated(this % fission)) then
deallocate(this % fission)
end if
if (allocated(this % k_fission)) then