This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Fix mbsrtowcs + uselocale leaks
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Roland McGrath <roland at redhat dot com>, Benjamin Kosnik <bkoz at redhat dot com>, libc-alpha at sources dot redhat dot com
- Date: Tue, 05 Nov 2002 11:23:06 -0800
- Subject: Re: [PATCH] Fix mbsrtowcs + uselocale leaks
- References: <20021105111727.051ffcb4.bkoz@redhat.com> <20021105200107.I3451@sunsite.ms.mff.cuni.cz>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jakub Jelinek wrote:
> I don't have valgrind installed, so I just fixed what I saw in
> mtrace output.
> The gconv_dl.c change is needed because _nl_archive_subfreeres may well run
> after gconv_dl's free_mem and it was segfaulting otherwise.
This patch fixes the actual leaks. A few blocks are still reported
being used (for loaded modules) but that's ok. I've applied the patch.
Thanks,
- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9yBqa2ijCOnn/RHQRAuk3AJ9jczxyRHv0WNSGEn4BpFr/dKBPrACfaBKB
Myzl90F7zij0z5qo2yvQpxs=
=eivq
-----END PGP SIGNATURE-----