diff options
author | Tom Tromey <tromey@redhat.com> | 2008-03-10 19:01:40 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2008-03-10 19:01:40 +0000 |
commit | 90246c32eaf76698be42bd431f5101f75163e157 (patch) | |
tree | f98ca9eb0de056fb2d0ec39de492d9121847322a /ChangeLog | |
parent | f6eb5c67210667b5942218ef91cfa670f2d09749 (diff) | |
download | classpath-90246c32eaf76698be42bd431f5101f75163e157.tar.gz |
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.
Diffstat (limited to 'ChangeLog')
-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. |