This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: glob memory leak


>>>>> Andreas Schwab writes:

AS> Andreas Jaeger <aj@suse.de> writes:
AS> |> Hi libc testers and developers,
AS> |> 
AS> |> is anybody interested in debugging glob (sysdeps/generic/glob.c)?

AS> Please try this patch (untested):

AS> 2000-07-13  Andreas Schwab  <schwab@suse.de>

AS> 	* sysdeps/generic/glob.c (glob): Fix memory leak.
AS> 	[SHELL]: Remove reference to undefined variable `files'.

Seems to work fine:

$ mtrace pr1782 m
No memory leaks.

Thanks a lot.  I've just run make and make check without problems and
committed your patch.

Salvador, can you test the patch please also and confirm that it
really fixes the memory leak?
Please note that the patch is against the current development version
of glibc (glibc 2.1.91), I hope it applies cleanly against 2.1.2.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de

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