Fixed a small memory leak when pressing backspace in a buffer