alsa: Fix use-after-free when reinitializing
This commit is contained in:
1 parent
e688a95ba4
commit
78013aeef9
1 file changed
+1
@@ -991,6 +991,7 @@ ALSA_Deinitialize(void)
|
||||
SDL_free(dev->name);
|
||||
SDL_free(dev);
|
||||
}
|
||||
hotplug_devices = NULL;
|
||||
|
||||
UnloadALSALibrary();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user