Fix potential memory leak
Add support for floats to sqlite