This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] gconv memory leak
- From: Chris Heath <chris at heathens dot co dot nz>
- To: libc-alpha at sources dot redhat dot com
- Date: Thu, 11 Mar 2004 19:27:40 -0500
- Subject: [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:
*;
};