mirror of https://github.com/encounter/SDL.git
Remove malloc from comment
This commit is contained in:
parent
0ef9d26622
commit
8e851a277d
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue