This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: Free cache in sysdeps/unix/sysv/linux/check_pf.c
- From: Marek Polacek <polacek at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Sat, 12 May 2012 19:03:36 +0200
- Subject: Re: PATCH: Free cache in sysdeps/unix/sysv/linux/check_pf.c
- References: <20120512162827.GA10502@intel.com>
On Sat, May 12, 2012 at 09:28:27AM -0700, H.J. Lu wrote:
> +/* Make sure cache is freed before exiting. */
> +libc_freeres_fn (freecache)
> +{
> + if (cache)
> + free (cache);
> +}
Is that if really necessary?
Marek