This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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,
shouldn't it?

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.


Daniel

--
Done:     Arc-Bar-Sam-Val-Wiz, Dwa-Elf-Gno-Hum-Orc, Law-Neu-Cha, Fem-Mal
Underway: Cav-Dwa-Law-Fem
To go:    Cav-Hea-Kni-Mon-Pri-Ran-Rog-Tou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]