http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40850
--- Comment #13 from Mikael Morin <mikael at gcc dot gnu.org> 2011-02-21 13:01:23 UTC --- Comment 5 is not affected by the double free as the allocatable components are never allocated during the program, only the containing entity is.