File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments