From: Michal Rokos Date: 2002-09-02T18:04:42+09:00 Subject: Re: [MemLeak] in dln.c Hi, On Sat, Aug 31, 2002 at 09:01:00AM +0900, nobu.nokada@softhome.net wrote: > > if ((init_fct = (void(*)())GetProcAddress(handle, buf)) == NULL) { > > - rb_loaderror("%s - %s\n%s", dln_strerror(), buf, file); > > + rb_loaderror("%s - %s\n%s", dln_strerror(), buf, file); /* FIXME: MEMLEAK for buf */ > > } > > free(buf); > > This looks tiresome. Of course it's ugly, but ... it was friday evening and I had to go... (No Internet at home, sigh) I'll commit mine patch and you can rework it, OK? Michal -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Michal Rokos Czech Technical University, Prague E-mail:m.rokos@sh.cvut.cz ICQ:36118339 Jabber:majkl@jabber.cz -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-