summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/com/tigervnc/rfb/TightDecoder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/com/tigervnc/rfb/TightDecoder.java b/java/com/tigervnc/rfb/TightDecoder.java
index 38d63626..8c2275f9 100644
--- a/java/com/tigervnc/rfb/TightDecoder.java
+++ b/java/com/tigervnc/rfb/TightDecoder.java
@@ -106,6 +106,7 @@ public class TightDecoder extends Decoder {
e.printStackTrace();
}
jpeg.getRGB(0, 0, r.width(), r.height(), buf, 0, r.width());
+ jpeg = null;
handler.imageRect(r, buf);
return;
}