SDL/src
Christoph Reichenbach 615c7efd98 Fix #9279: Memory leak in pen name handling
- Fixes a leak in pen name allocation that would trigger
  for both X11 and Wayland for some non-pen input devices
  when new devices are added/removed.
- SDL_PenQuit() now deallocates and resets the table of known pens
- testautomation_pen.c now uses PenInit and PenQuit as setup and
  teardown, respectively

testautomation_pen.c was already triggering the leak, and it is
visible with --trackmem, so no new tests are added.
2024-03-24 05:04:53 -07:00
..
atomic Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
audio audio: always build fallback scalar converters 2024-03-23 16:36:44 -07:00
camera Fixed signed/unsigned comparison warning 2024-03-19 17:00:46 -07:00
core Added device name for evdev mice and keyboards 2024-03-23 16:31:00 -07:00
cpuinfo cpuinfo: reset cpu features on SDL_Quit 2024-03-23 16:36:44 -07:00
dialog Fixed uninitialized signal_id 2024-03-18 09:12:51 -07:00
dynapi Added SDL_GetKeyboardName() and SDL_GetMouseName() 2024-03-23 16:31:00 -07:00
events Fix #9279: Memory leak in pen name handling 2024-03-24 05:04:53 -07:00
file Fixed warning C4702: unreachable code 2024-03-19 16:02:54 -07:00
filesystem Simplified SDL_SYS_RemovePath() 2024-03-21 21:16:14 -07:00
haptic Fix TOCTOU race condition 2024-03-08 15:52:04 -08:00
hidapi hidapi_libusb: use SDL_wcscmp and SDL_wcslcpy from SDL 2024-03-10 09:07:33 -07:00
joystick Use the correct device ID (global or default or specific) based on context 2024-03-23 16:31:00 -07:00
libm Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
loadso Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
locale N3DS: Fix locale name and early return. 2024-03-19 16:54:07 -07:00
main main: Fixed compiler warning on Android. 2024-02-20 15:56:26 -05:00
misc Added VisionOS as a supported target to the Xcode project 2024-01-27 11:07:21 -08:00
power Added VisionOS as a supported target to the Xcode project 2024-01-27 11:07:21 -08:00
render Fixed signed/unsigned comparison warning 2024-03-19 17:00:46 -07:00
sensor Removed SDL_EVENTS_DISABLED 2024-01-17 09:24:04 -08:00
stdlib Fix warnings when building with -DSDL_LIBC=OFF on Linux 2024-03-18 21:29:08 +01:00
storage You can pass NULL to SDL_GetPathInfo() and SDL_GetStoragePathInfo() to test for the existence of a file. 2024-03-18 08:56:24 -07:00
test Initial support for hotplugging mice and keyboards 2024-03-23 16:31:00 -07:00
thread SDL_sysmutex.c: fix void return compile error 2024-03-21 13:25:01 -07:00
time N3DS: Implement SDL_GetSystemTimeLocalePreferences 2024-03-19 16:52:56 -07:00
timer PSP: improve performance counter res to us granularity (thanks @rofl0r!) 2024-03-23 09:34:07 -07:00
video Revert "Added virtual keyboard support for Xbox (thanks @ts-13512)" 2024-03-23 16:47:59 -07:00
SDL.c cpuinfo: reset cpu features on SDL_Quit 2024-03-23 16:36:44 -07:00
SDL_assert.c Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
SDL_assert_c.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_error.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_error_c.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_guid.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_hashtable.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_hashtable.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_hints.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_hints_c.h Removed SDL_ClearHints() from the public API 2024-02-24 21:07:50 -08:00
SDL_internal.h Vulkan Renderer (#9114) 2024-02-22 14:58:11 -08:00
SDL_list.c Cleaned up various type conversion issues 2024-03-07 06:58:43 -08:00
SDL_list.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_log.c Renamed SDL_LogGetOutputFunction() and SDL_LogSetOutputFunction() to match SDL 3.0 naming convention 2024-03-17 12:28:11 -07:00
SDL_log_c.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_properties.c Cleaned up various type conversion issues 2024-03-07 06:58:43 -08:00
SDL_properties_c.h Added SDL_SetFreeableProperty() for internal use 2024-02-10 08:04:27 -08:00
SDL_utils.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_utils_c.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00