[Ikvm-commit] ikvm/openjdk/java/awt/image BufferedImage.java, 1.20, 1.21
Brought to you by:
jfrijters
From: Small S. <sma...@us...> - 2015-09-03 15:01:08
|
Update of /cvsroot/ikvm/ikvm/openjdk/java/awt/image In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv26894/openjdk/java/awt/image Modified Files: BufferedImage.java Log Message: free resources on call of flush Index: BufferedImage.java =================================================================== RCS file: /cvsroot/ikvm/ikvm/openjdk/java/awt/image/BufferedImage.java,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** BufferedImage.java 23 Oct 2014 12:54:02 -0000 1.20 --- BufferedImage.java 3 Sep 2015 15:01:06 -0000 1.21 *************** *** 1807,1811 **** } ! public void flush(){ } } --- 1807,1816 ---- } ! public void flush() { ! if( bitmap != null ) { ! toRaster(); ! bitmap.Dispose(); ! bitmap = null; ! } } } |