[commit-cp] classpath ChangeLog native/jni/classpath/jcl.c [classpath-0_97-release-branch]

Andrew John Hughes <[email protected]> Mon, 02 Jun 2008 01:01:18 +0000
Newsgroups gmane.comp.java.classpath.cvs
Message-ID <[email protected]>
CVSROOT:	/sources/classpath
Module name:	classpath
Branch:		classpath-0_97-release-branch
Changes by:	Andrew John Hughes <gnu_andrew>	08/06/02 01:01:18

Modified files:
	.              : ChangeLog 
	native/jni/classpath: jcl.c 

Log message:
	Backport leak fix.
	
	2008-03-10  Jim Meyering  <[email protected]>
	
		Don't leak upon failed realloc.
		* native/jni/classpath/jcl.c (JCL_realloc): Upon failed realloc,
		free the original buffer before throwing the exception.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&only_with_tag=classpath-0_97-release-branch&r1=1.9526.2.10&r2=1.9526.2.11
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/classpath/jcl.c?cvsroot=classpath&only_with_tag=classpath-0_97-release-branch&r1=1.27&r2=1.27.6.1