[PATCH] gconv memory leak

Chris Heath chris@heathens.co.nz
Thu Mar 11 23:45:00 GMT 2004


I noticed that when gconv modules have a gconv_end function, it never gets
called because it is not a global symbol. This patch fixes the problem.

Chris



2004-03-10  Chris Heath  <chris@heathens.co.nz>

	* iconvdata/gconv.map: Add gconv_end (fixes memory leak)

Index: iconvdata/gconv.map
===================================================================
RCS file: /cvs/glibc/libc/iconvdata/gconv.map,v
retrieving revision 1.1
diff -u -r1.1 gconv.map
--- iconvdata/gconv.map	13 Dec 2002 02:54:53 -0000	1.1
+++ iconvdata/gconv.map	7 Mar 2004 21:58:05 -0000
@@ -2,6 +2,7 @@
 global:
   gconv;
   gconv_init;
+  gconv_end;
 local:
   *;
 };



More information about the Libc-alpha mailing list