Previously, if SDL_AllocRW failed, then the handle would not be saved into an SDL_RWops (since that object was not created), but it would also not be closed immediately.