Skip to content

Commit c6ebf2e

Browse files
ugh
1 parent 7925d16 commit c6ebf2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/s3_default_buffer_pool.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ static void s_aws_ticket_wrapper_destroy(void *data) {
419419
/* Capture all the pending reserves that can be completed. They will actually be completed once outside the mutex.
420420
*/
421421
while (!aws_linked_list_empty(&buffer_pool->pending_reserves)) {
422-
struct aws_linked_list_node *node = aws_linked_list_front(&buffer_pool->pending_reserves);
422+
node = aws_linked_list_front(&buffer_pool->pending_reserves);
423423
struct s3_pending_reserve *pending_reserve = AWS_CONTAINER_OF(node, struct s3_pending_reserve, node);
424424

425425
pending_reserve->ticket = s_try_reserve(pool, pending_reserve->meta);
@@ -445,7 +445,7 @@ static void s_aws_ticket_wrapper_destroy(void *data) {
445445

446446
/* fill the next pending future */
447447
while (!aws_linked_list_empty(&pending_reserves_to_complete)) {
448-
struct aws_linked_list_node *node = aws_linked_list_front(&pending_reserves_to_remove);
448+
struct aws_linked_list_node *node = aws_linked_list_front(&pending_reserves_to_complete);
449449
struct s3_pending_reserve *pending = AWS_CONTAINER_OF(node, struct s3_pending_reserve, node);
450450

451451
struct aws_s3_buffer_ticket *new_ticket_wrapper = s_wrap_default_ticket(pending->ticket);

0 commit comments

Comments
 (0)