From: H.J. Lu Date: Mon, 14 May 2012 12:02:08 +0000 (-0700) Subject: Free memory at exit in check_pf.c X-Git-Tag: glibc-2.16-tps~360 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2523c62bec65ea0c17b1893ffdaba7ac3cff1e31;p=platform%2Fupstream%2Fglibc.git Free memory at exit in check_pf.c --- diff --git a/ChangeLog b/ChangeLog index 79e01f2..5824961 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-05-14 H.J. Lu + + [BZ #14104] + * sysdeps/unix/sysv/linux/check_pf.c (cache): Use + libc_freeres_ptr. + 2012-05-14 Liubov Dmitrieva * sysdeps/i386/i686/fpu/multiarch/Makefile: New file. diff --git a/sysdeps/unix/sysv/linux/check_pf.c b/sysdeps/unix/sysv/linux/check_pf.c index 7d83906..793d27d 100644 --- a/sysdeps/unix/sysv/linux/check_pf.c +++ b/sysdeps/unix/sysv/linux/check_pf.c @@ -61,7 +61,7 @@ static struct cached_data noai6ai_cached = .in6ailen = 0 }; -static struct cached_data *cache; +libc_freeres_ptr (static struct cached_data *cache); __libc_lock_define_initialized (static, lock);