Recycle
This commit is contained in:
parent
9fd800acb8
commit
a1f5a60b8f
|
@ -186,6 +186,7 @@ public class SongDBHandler extends SQLiteOpenHelper {
|
|||
return null;
|
||||
}
|
||||
finally {
|
||||
cursor.close();
|
||||
db.close();
|
||||
}
|
||||
}
|
||||
|
@ -230,6 +231,7 @@ public class SongDBHandler extends SQLiteOpenHelper {
|
|||
return null;
|
||||
}
|
||||
finally {
|
||||
cursor.close();
|
||||
db.close();
|
||||
}
|
||||
}
|
||||
|
@ -246,6 +248,7 @@ public class SongDBHandler extends SQLiteOpenHelper {
|
|||
return null;
|
||||
}
|
||||
finally {
|
||||
cursor.close();
|
||||
db.close();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -71,6 +71,8 @@ public class SeekBarPreference extends DialogPreference implements SeekBar.OnSee
|
|||
if(mDisplay == null) {
|
||||
mDisplay = "%.0f";
|
||||
}
|
||||
|
||||
a.recycle();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue