mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-04 00:46:25 +00:00
More defensive coding against dangling device pointers
This commit is contained in:
@@ -50,6 +50,7 @@ struct SDL_HIDAPI_DeviceDriver;
|
||||
|
||||
typedef struct SDL_HIDAPI_Device
|
||||
{
|
||||
const void *magic;
|
||||
char *name;
|
||||
char *path;
|
||||
Uint16 vendor_id;
|
||||
|
Reference in New Issue
Block a user