Bug 1018089 - Close the SQLiteBridge Cursor in getVersion(). r=gcp

This commit is contained in:
Shashank Sabniveesu 2014-06-03 03:01:00 -04:00
parent d2ab757462
commit 5f52a8f7d9

View File

@ -227,6 +227,7 @@ public class SQLiteBridge {
cursor.moveToFirst();
String version = cursor.getString(0);
ret = Integer.parseInt(version);
cursor.close();
}
return ret;
}