Skip to content

Commit

Permalink
fix #3372:Resource Leak in SqlUtils.java
Browse files Browse the repository at this point in the history
  • Loading branch information
xuugii committed Nov 26, 2015
1 parent 480fcb3 commit 4c4594c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ public static boolean dropAllTables(SQLiteDatabase db) throws SQLiteException {
return true;
} finally {
db.endTransaction();
closeCursor(cursor);
}
}

Expand Down

0 comments on commit 4c4594c

Please sign in to comment.