Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix database cursor leak in DataHelper class
I moved the cursor closing code outside the if block to make sure the cursor is closed even when it is empty (when getCount() returns 0).
- Loading branch information