This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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: Memory leak in opendir()


On Aug 25 11:01, Sebastian Huber wrote:
> Hi,
> 
> please have a look at the attached patch.  Maybe it is beneficial to allocate
> the dirp and dirp->dd_buf at once?
> 
> Have a nice day!
> 
> 2010-08-24  Sebastian Huber <sebastian.huber@embedded-brains.de>
> 
> 	* libc/posix/opendir.c: Added missing memory free.

Thanks for catching.  Patch applied.


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat


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