Remove 'malloc' from comment

This commit is contained in:
Sylvain authored and Sam Lantinga committed 2021-11-22 08:38:46 -08:00
1 parent 4d566e5d5d
commit 38cfe25bc5
1 file changed
+1 -1
+1 -1
View File
@@ -687,7 +687,7 @@ SDL_ClearQueuedAudio(SDL_AudioDeviceID devid)
/* Blank out the device and release the mutex. Free it afterwards. */
current_audio.impl.LockDevice(device);
/* Keep up to two packets in the pool to reduce future malloc pressure. */
/* Keep up to two packets in the pool to reduce future memory allocation pressure. */
SDL_ClearDataQueue(device->buffer_queue, SDL_AUDIOBUFFERQUEUE_PACKETLEN * 2);
current_audio.impl.UnlockDevice(device);