From 6a870c241757de4bff2c3d900b5f05bd22f9752e Mon Sep 17 00:00:00 2001 From: Tyler Dunn Date: Wed, 13 Apr 2016 23:46:45 -0400 Subject: [PATCH] [Android] Fix possible leak of fileCursor --- .../main/java/org/dolphinemu/dolphinemu/model/GameDatabase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/GameDatabase.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/GameDatabase.java index b9af9ee631..44b1c2b9c6 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/GameDatabase.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/GameDatabase.java @@ -251,7 +251,7 @@ public final class GameDatabase extends SQLiteOpenHelper } } - + fileCursor.close(); folderCursor.close(); database.close(); }