Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed crash if allocation for touch device failed.
If the allocation of an SDL_Touch failed, the number of touch devices was still increased. Later access of the SDL_Touch would then have dereferenced the NULL.
- Loading branch information