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/49466] [4.6/4.7 Regression] Memory leak with assignment of extended derived types


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49466

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-06-19 18:45:09 UTC ---
> In the first assignment b.U is allocated, in the second assignment it is not
> freed, before being allocated again.

I don't think it should be freed then allocated for the second assignment in
the code in comment#4.


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