mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 22:07:41 +00:00
Bug 834386 - AboutHomeContent: Finalizing a Cursor that has not been deactivated or closed r=bnicholson
This commit is contained in:
parent
6e1e16db61
commit
46e754dd81
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user