properties: Fixed a typo in a comment.

(cherry picked from commit 5b5713b955)
This commit is contained in:
Ryan C. Gordon
2026-07-13 18:38:30 -04:00
parent c9ebec4687
commit 758dab45af

View File

@@ -844,7 +844,7 @@ void SDL_DestroyProperties(SDL_PropertiesID props)
{
if (props) {
// this can't just use RemoveFromHashTable with SDL_FreeProperties as the destructor, because
// other destructors under this might cause use to attempt a recursive lock on SDL_properties,
// other destructors under this might cause us to attempt a recursive lock on SDL_properties,
// which isn't allowed with rwlocks. So manually look it up and remove/free it.
SDL_Properties *properties = NULL;
if (SDL_FindInHashTable(SDL_properties, (const void *)(uintptr_t)props, (const void **)&properties)) {