Remove 'malloc' from comment

This commit is contained in:
Sylvain 2021-11-22 16:39:56 +01:00 committed by Sam Lantinga
parent 4d566e5d5d
commit 38cfe25bc5
1 changed files with 1 additions and 1 deletions

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);