r133094 - in /trunk/libjava: ChangeLog classpat...
tromey@gcc.gnu.org
tromey@gcc.gnu.org
Mon Mar 10 22:08:00 GMT 2008
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
More information about the Gcc-cvs
mailing list