This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: PATCH: Fix localedata/tst-leaks.c
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: PATCH: Fix localedata/tst-leaks.c
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 28 Jun 2001 17:03:47 -0700
- Cc: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- References: <20010628131930.A3111@lucon.org>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
"H . J . Lu" <hjl@lucon.org> writes:
> This patch seems to fix localedata/tst-leaks.c. The problem is we
> free locale `data' twice. I don't know what is the best way.
This seems to do the job. Getting rid of one free_mem function makes
things faster and smaller. Thanks,
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------