mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 16:45:32 +00:00
alsa: Fix use-after-free when reinitializing
This commit is contained in:
parent
e688a95ba4
commit
78013aeef9
|
@ -991,6 +991,7 @@ ALSA_Deinitialize(void)
|
|||
SDL_free(dev->name);
|
||||
SDL_free(dev);
|
||||
}
|
||||
hotplug_devices = NULL;
|
||||
|
||||
UnloadALSALibrary();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue