Do you mean the change of dl_cleanup as below:

http://sources.busybox.net/index.py/trunk/uClibc/ldso/libdl/libdl.c?r1=23552&r2=23853&diff_format=h

 

Thanks,
 
> To: xjt...@hotmail.com
> CC: uclibc@uclibc.org
> Subject: Re: dlopen/dlclose caused memory leak?
> From: joakim.tjernl...@transmode.se
> Date: Wed, 11 Mar 2009 13:06:47 +0100
> 
> > Hi,
> > 
> > I used uclibc-0.9.29,
> > 
> > /*dltest.c*/
> > > #include <stdio.h>
> > > #include <dlfcn.h>
> > >
> > > #define MYLIB "/flash/lib/libdev.so"
> > >
> > > int main (void){
> > > void *handle;
> > > while (1){
> > > handle = dlopen (MYLIB, RTLD_LAZY);
> > > if (!handle){
> > > fputs (dlerror(), stderr);
> > > exit (1);
> > > }
> > > dlclose (handle);
> > > }
> > > }
> > /*dltest.c*/
> > 
> > Pls comment,
> > Thanks,
> > czy
> 
> I remember plugging a memory leak in this area, probably
> after 0.9.29, try a newer uClibc version.
> 
> Jocke

_________________________________________________________________
梦幻K图,百变造型,让你的照片与众不同,快来MClub试试吧!
http://club.msn.cn/?form=3
_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to