deallocates