diff options
author | wimba.com <wimba.com@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2005-01-11 19:02:12 +0000 |
---|---|---|
committer | wimba.com <wimba.com@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2005-01-11 19:02:12 +0000 |
commit | 275f6076fb621d31b74ff48d7321f410c4d985e7 (patch) | |
tree | 841f1356742109559bc5f453a201339b5667e425 | |
parent | eee33e32a73c5e34a594ed0aea949050035af337 (diff) | |
download | tigervnc-275f6076fb621d31b74ff48d7321f410c4d985e7.tar.gz tigervnc-275f6076fb621d31b74ff48d7321f410c4d985e7.zip |
Null check.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2542 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r-- | java/src/com/tightvnc/rfbplayer/FbsInputStream.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/tightvnc/rfbplayer/FbsInputStream.java b/java/src/com/tightvnc/rfbplayer/FbsInputStream.java index 6df38ddf..724ff306 100644 --- a/java/src/com/tightvnc/rfbplayer/FbsInputStream.java +++ b/java/src/com/tightvnc/rfbplayer/FbsInputStream.java @@ -106,7 +106,8 @@ class FbsInputStream extends InputStream { } public synchronized void close() throws IOException { - in.close(); + if (in != null) + in.close(); in = null; startTime = -1; timeOffset = 0; |