Remove malloc from comment

main
Sylvain 2021-11-22 16:28:07 +01:00 committed by Sam Lantinga
parent 0ef9d26622
commit 8e851a277d
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ SDL_ClearDataQueue(SDL_DataQueue *queue, const size_t slack)
queue->queued_bytes = 0; queue->queued_bytes = 0;
queue->pool = packet; queue->pool = packet;
/* Optionally keep some slack in the pool to reduce malloc pressure. */ /* Optionally keep some slack in the pool to reduce memory allocation pressure. */
for (i = 0; packet && (i < slackpackets); i++) { for (i = 0; packet && (i < slackpackets); i++) {
prev = packet; prev = packet;
packet = packet->next; packet = packet->next;