Browse Source

fixed null check

AndyScherzinger 8 years ago
parent
commit
a634be95ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/com/owncloud/android/files/FileOperationsHelper.java

+ 1 - 1
src/com/owncloud/android/files/FileOperationsHelper.java

@@ -110,7 +110,7 @@ public class FileOperationsHelper {
                 }
             }
 
-            if (br != null) {
+            if (fr != null) {
                 try {
                     fr.close();
                 } catch (IOException e) {