Patch: possible memory leak

Michael Koch konqueror@gmx.de
Tue Jul 1 14:15:00 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,


I know this leak is academic/insignificant but I wanted to start 
things like this and I found it while playing with valgrind.

The attached patch fixes a 40 byte (at least here) memleak while 
initializing the converter stuff. This leak can only occur once 
during initializiation.

Okay to commit to trunk ?


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/AZhbWSOgCCdjSDsRAiILAJ9SLivBPqL7WZTZlLg5dx9KPLMjkQCgjtYR
sZUDu5vVaWOJrvYiKHHbxtk=
=2Aiu
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iconv.diff
Type: text/x-diff
Size: 1160 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20030701/845810ed/attachment.bin>


More information about the Java-patches mailing list