fix: adds finalizer for space pointer

so you don't need to (space-free space) explicitly.