raspell
raspell copied to clipboard
correct_file may leak file descriptors
In correct_file, if IO#write raises an exception IO#close will not be called, leaking the file descriptor. rb_ensure() should be used to ensure the file descriptor is closed regardless of exceptions.