------- Comment #6 from janus at gcc dot gnu dot org 2010-08-24 12:57 ------- (In reply to comment #5) > However, when the same change is applied to the original library, a double > free > pops up in another place, unrelated to this issue; this would indicate that > there are other instances of some sort of flaw in the cleanup of temporaries.
Cf. PR 44047 (which is similar to this, except that the polymorphic selector itself is allocatable). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45384