This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] gconv memory leak


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:
   *;
 };


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]