sqlite leak fix attempt