From 30d3e09e6511630fed6f005202bb6e252f333a9b Mon Sep 17 00:00:00 2001 From: tromey Date: Mon, 10 Mar 2008 22:08:34 +0000 Subject: libjava 2008-03-10 Jim Meyering Don't leak upon failed realloc. * gnu/classpath/natSystemProperties.cc (SystemProperties::insertSystemProperties): libjava/classpath 2008-03-10 Jim Meyering Don't leak upon failed realloc. * native/jni/classpath/jcl.c (JCL_realloc): Upon failed realloc, free the original buffer before throwing the exception. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133094 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/classpath/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libjava/classpath/ChangeLog') diff --git a/libjava/classpath/ChangeLog b/libjava/classpath/ChangeLog index 1a39f6b48d5..c3d8f6395b6 100644 --- a/libjava/classpath/ChangeLog +++ b/libjava/classpath/ChangeLog @@ -1,3 +1,9 @@ +2008-03-10 Jim Meyering + + Don't leak upon failed realloc. + * native/jni/classpath/jcl.c (JCL_realloc): Upon failed realloc, + free the original buffer before throwing the exception. + 2008-03-09 Ralf Wildenhues * doc/cp-hacking.texinfo: Fix spacing after periods. -- cgit v1.2.1