Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

close cursor properly in uploadactivity

  • Loading branch information...
commit 1820c15b84166c303c5ade285740c37c6f636dfa 1 parent 690b054
Sascha Hlusiak authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/de/saschahlusiak/frupic/utils/UploadActivity.java
2  src/de/saschahlusiak/frupic/utils/UploadActivity.java
View
@@ -256,6 +256,8 @@ protected void onCreate(Bundle savedInstanceState) {
cursor.moveToFirst();
fileName = cursor.getString(columnIndex);
}
+ if (cursor != null)
+ cursor.close();
}
if (fileName == null)
fileName = "[Unknown]";
Please sign in to comment.
Something went wrong with that request. Please try again.