diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-05-14 05:02:08 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-05-14 05:02:08 -0700 |
commit | 2523c62bec65ea0c17b1893ffdaba7ac3cff1e31 (patch) | |
tree | e43fe19cfc0c3878a60c59fd049bbc48055e87bd | |
parent | d7bb4c428aed3126614b999336397e9e55e6f486 (diff) | |
download | glibc-2523c62bec65ea0c17b1893ffdaba7ac3cff1e31.tar.gz glibc-2523c62bec65ea0c17b1893ffdaba7ac3cff1e31.tar.xz glibc-2523c62bec65ea0c17b1893ffdaba7ac3cff1e31.zip |
Free memory at exit in check_pf.c
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/check_pf.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 79e01f21be..5824961e96 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-05-14 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #14104] + * sysdeps/unix/sysv/linux/check_pf.c (cache): Use + libc_freeres_ptr. + 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com> * 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 7d839062d4..793d27db4e 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); |