summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2008-06-02 01:01:15 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2008-06-02 01:01:15 +0000
commit270cf045eab792a998e7a0bac2a868deb776ffa2 (patch)
tree2a256d1e1c95ad5238a904421c1ad2bc2860c906
parent1eff265f245eb683ab1a8b4df435ed233f217725 (diff)
downloadclasspath-270cf045eab792a998e7a0bac2a868deb776ffa2.tar.gz
Backport leak fix.
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.
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2429db129..896cb3a4a 100644
--- a/ChangeLog
+++ b/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 some typos.