Bug 834386 - AboutHomeContent: Finalizing a Cursor that has not been deactivated or closed r=bnicholson

This commit is contained in:
Mark Finkle 2013-01-24 16:58:53 -05:00
parent 6e1e16db61
commit 46e754dd81

View File

@ -315,6 +315,8 @@ public class BrowserDB {
String title = c.getString(c.getColumnIndex(URLColumns.TITLE));
mPinnedSites.put(pos, new PinnedSite(title, url));
} while (c.moveToNext());
}
if (c != null && !c.isClosed()) {
c.close();
}
}