aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/ChangeLog
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-03-10 22:08:34 +0000
committerTom Tromey <tromey@gcc.gnu.org>2008-03-10 22:08:34 +0000
commitea1b8c8764d150970c1203585d4cf8bf684afbf6 (patch)
tree760625d856048373d82ecd71dfe46ad4f26ff853 /libjava/classpath/ChangeLog
parentdd6d52363003ef0a2e7c2293bb6d0c5f1f829b6a (diff)
downloadgcc-ea1b8c8764d150970c1203585d4cf8bf684afbf6.zip
gcc-ea1b8c8764d150970c1203585d4cf8bf684afbf6.tar.gz
gcc-ea1b8c8764d150970c1203585d4cf8bf684afbf6.tar.bz2
Don't leak upon failed realloc.
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. From-SVN: r133094
Diffstat (limited to 'libjava/classpath/ChangeLog')
-rw-r--r--libjava/classpath/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/libjava/classpath/ChangeLog b/libjava/classpath/ChangeLog
index 1a39f6b..c3d8f63 100644
--- a/libjava/classpath/ChangeLog
+++ b/libjava/classpath/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2008-03-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/cp-hacking.texinfo: Fix spacing after periods.