[Patch, Fortran] Derived-type finalization, split up: module.c part
Daniel Kraft
d@domob.eu
Thu Aug 7 20:32:00 GMT 2008
Daniel Kraft wrote:
> 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.
Paul,
ok to commit?
Yours,
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
More information about the Fortran
mailing list