glob memory leak

Andreas Jaeger aj@suse.de
Thu Jul 13 02:48:00 GMT 2000


Hi libc testers and developers,

is anybody interested in debugging glob (sysdeps/generic/glob.c)?
Salvador Castromil Martinez reported a memory leak in glob.  With
mtrace I was able to get the following information (for glibc 2.1.91):

Memory not freed:
-----------------
   Address     Size     Caller
0x080a06d0     0x1f  at /usr/src/cvs/libc/posix/../sysdeps/generic/glob.c:1152
0x080a06f8     0x1f  at /usr/src/cvs/libc/posix/../sysdeps/generic/glob.c:1152
0x080a0740     0x1f  at /usr/src/cvs/libc/posix/../sysdeps/generic/glob.c:1152
0x080a0770     0x1f  at /usr/src/cvs/libc/posix/../sysdeps/generic/glob.c:1152
0x080a0798     0x1f  at /usr/src/cvs/libc/posix/../sysdeps/generic/glob.c:1152
0x080a07c0     0x1f  at /usr/src/cvs/libc/posix/../sysdeps/generic/glob.c:1152
[..]
0x080a09f0     0x1f  at /usr/src/cvs/libc/posix/../sysdeps/generic/glob.c:1152
0x080a0a18     0x28  at /usr/src/cvs/libc/posix/../sysdeps/generic/glob.c:1389
0x080a0a48     0x1f  at /usr/src/cvs/libc/posix/../sysdeps/generic/glob.c:1152

Andreas



More information about the Libc-alpha mailing list