Revision: 4795
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4795&view=rev
Author:   bphinz
Date:     2011-11-11 18:55:21 +0000 (Fri, 11 Nov 2011)
Log Message:
-----------
null out BufferedImage object to make sure it doesn't lead to a memory leak

Modified Paths:
--------------
    trunk/java/com/tigervnc/rfb/TightDecoder.java

Modified: trunk/java/com/tigervnc/rfb/TightDecoder.java
===================================================================
--- trunk/java/com/tigervnc/rfb/TightDecoder.java       2011-11-11 18:50:53 UTC 
(rev 4794)
+++ trunk/java/com/tigervnc/rfb/TightDecoder.java       2011-11-11 18:55:21 UTC 
(rev 4795)
@@ -106,6 +106,7 @@
         e.printStackTrace();
       }
       jpeg.getRGB(0, 0, r.width(), r.height(), buf, 0, r.width());
+      jpeg = null;
       handler.imageRect(r, buf);
       return;
     }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Tigervnc-commits mailing list
Tigervnc-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to