This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r133094 - in /trunk/libjava: ChangeLog classpat...
- From: tromey at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 10 Mar 2008 22:08:35 -0000
- Subject: r133094 - in /trunk/libjava: ChangeLog classpat...
Author: tromey
Date: Mon Mar 10 22:08:34 2008
New Revision: 133094
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133094
Log:
libjava
2008-03-10 Jim Meyering <meyering@redhat.com>
Don't leak upon failed realloc.
* gnu/classpath/natSystemProperties.cc
(SystemProperties::insertSystemProperties):
libjava/classpath
2008-03-10 Jim Meyering <meyering@redhat.com>
Don't leak upon failed realloc.
* native/jni/classpath/jcl.c (JCL_realloc): Upon failed realloc,
free the original buffer before throwing the exception.
Modified:
trunk/libjava/ChangeLog
trunk/libjava/classpath/ChangeLog
trunk/libjava/classpath/native/jni/classpath/jcl.c
trunk/libjava/gnu/classpath/natSystemProperties.cc