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

Re: [gfortran] patch for unlink on open files



On Aug 7, 2005, at 12:29 PM, FX Coudert wrote:


By the way, looking at your patch, I'm wondering whether this creates a memory leak. You never free the memory allocated?

Alloca is automatically released when coming out of the function. The memory is allocated on the stack.


-- Pinski



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