This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug fortran/60913] [OOP] Memory leak with allocatable polymorphic function result (in type-bound operator)


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60913

--- Comment #9 from Chris <cmacmackin at gmail dot com> ---
Last I heard, gfortran still doesn't invoke finalisation in this situation. In
any case, while (in my main code) I could certainly reduce the volume of leaked
memory via finalisation (by deallocating arrays contained in the derived type
variable), it wouldn't work to deallocate the variable itself.

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