Memory leak in opendir()

Corinna Vinschen vinschen@redhat.com
Fri Aug 27 09:25:00 GMT 2010


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



More information about the Newlib mailing list