]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Free memory at exit in check_pf.c
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 14 May 2012 12:02:08 +0000 (05:02 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 14 May 2012 12:02:08 +0000 (05:02 -0700)
ChangeLog
sysdeps/unix/sysv/linux/check_pf.c

index 79e01f21be5ea7a03d24e7122374ff1185e839ff..5824961e960b1a7a386b4ce2b4c318a7c946d262 100644 (file)
--- 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.
index 7d839062d43c1711e8a61eb9d81d2088f5e6c833..793d27db4e66fefee2589bd71e3fbc19453228e7 100644 (file)
@@ -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);