diff --git a/src/haptic/linux/SDL_syshaptic.c b/src/haptic/linux/SDL_syshaptic.c index 281a9316b..7598a5633 100644 --- a/src/haptic/linux/SDL_syshaptic.c +++ b/src/haptic/linux/SDL_syshaptic.c @@ -624,6 +624,8 @@ SDL_SYS_HapticQuit(void) #endif /* SDL_USE_LIBUDEV */ numhaptics = 0; + SDL_hapticlist = NULL; + SDL_hapticlist_tail = NULL; }