Backed out changeset 852a7bdbdf4b

This causes a use-after-free memory error
This commit is contained in:
Sam Lantinga 2021-02-08 16:55:01 -08:00
parent 4183211a54
commit d9ba20442e
1 changed files with 0 additions and 4 deletions

View File

@ -297,10 +297,6 @@ display_handle_done(void *data,
SDL_AddVideoDisplay(display, SDL_FALSE);
SDL_free(display->name);
/* The 'display' content was copied in previous SDL_AddVideoDisplay call.
* We have to remove this reference, else it will be lost indefinitely.
*/
SDL_free(display);
}
static void