prevent another cursor leak

// FREEBIE
pull/1/head
Jake McGinty 10 years ago
parent 8c55ea09d9
commit 9b495d8c83

@ -108,6 +108,7 @@ public class ApnDatabase {
}
if (cursor == null || !cursor.moveToFirst()) {
if (cursor != null) cursor.close();
Log.w(TAG, "Querying table for MCC+MNC " + mccmnc + " without APN name");
cursor = db.query(TABLE_NAME, null,
BASE_SELECTION,

Loading…
Cancel
Save