diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2008-06-02 01:01:15 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2008-06-02 01:01:15 +0000 |
commit | 270cf045eab792a998e7a0bac2a868deb776ffa2 (patch) | |
tree | 2a256d1e1c95ad5238a904421c1ad2bc2860c906 | |
parent | 1eff265f245eb683ab1a8b4df435ed233f217725 (diff) | |
download | classpath-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-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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. |