g95, "Remaining memory" #7

Closed
vmagnin opened this Issue Mar 15, 2011 · 2 comments

Comments

Projects
None yet
2 participants
Collaborator

vmagnin commented Mar 15, 2011

With g95 (not gfortran), I systematically obtain that kind of message when quitting a program:
Remaining memory: 30 bytes at 0907a2e0 allocated at line 88 of gtk.f90

Line 88 is:
allocate(carg(0:strlen))

We should deallocate it somewhere.

Collaborator

jtappin commented Mar 16, 2011

There is a deallocate(carg) commented out at the end of the subroutine. Should it just be uncommented?

Collaborator

vmagnin commented Jun 26, 2016

deallocate(carg) added in gtk.f90, in my gtk2devel and gtk3devel branch.

vmagnin closed this Jun 26, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment