This is the mail archive of the
mailing list for the GNU Fortran project.
Re: [Patch, Fortran] Derived-type finalization, split up: module.c part
Paul Richard Thomas wrote:
We call gfc_free_namespace in gfc_free_symbol; that should do the trick,
Yes, indeed. I did not check gfc_finalizers' clening up - is that clean?
gfc_free_symbol frees the f2k_derived namespace if it is there;
gfc_free_namespace in turn frees the list of finalizers (if not NULL)
with the procedure in the patch. I believe everything should be
allright, as far as I can tell.
Done: Arc-Bar-Sam-Val-Wiz, Dwa-Elf-Gno-Hum-Orc, Law-Neu-Cha, Fem-Mal
To go: Cav-Hea-Kni-Mon-Pri-Ran-Rog-Tou