Patch: memory leak in java/lang/natClass.cc

Michael Koch konqueror@gmx.de
Tue Jul 1 17:30:00 GMT 2003


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

Hi list,


I found another memory leak in java/lang/natClass.cc in 
_Jv_PrepareConstantTimeTables. The attached patch moves two abortion 
checks before the allocation of memory.

Okay to commit to trunk ?


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

iD8DBQE/AcYMWSOgCCdjSDsRAq4hAKCMjPhZFGkMYSq/uxxJDKHRsknSxgCfT36q
dR3VbdP6vI3e3+PUdp+R2eM=
=Fpdw
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: class.diff
Type: text/x-diff
Size: 1992 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20030701/dd972766/attachment.bin>


More information about the Java-patches mailing list