[PATCH] Fix mbsrtowcs + uselocale leaks

Ulrich Drepper drepper@redhat.com
Tue Nov 5 11:49:00 GMT 2002


-----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-----



More information about the Libc-alpha mailing list