mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-21 09:36:24 +00:00
Automatically clean up memory associated with events
This commit is contained in:
@@ -1728,7 +1728,6 @@ static void loop(void *arg)
|
||||
AddControllerNameText(event.text.text);
|
||||
}
|
||||
}
|
||||
SDL_CleanupEvent(&event);
|
||||
break;
|
||||
case SDL_EVENT_QUIT:
|
||||
done = SDL_TRUE;
|
||||
|
||||
Reference in New Issue
Block a user