aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-03-13 07:45:59 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-03-13 07:45:59 -0700
commit09acb108b7620eff840fb0428f7eb159a4f27cf4 (patch)
tree5c6f2b5ae2a121d8c32214fc6da74e011317b4b2 /src
parent37723c9ee07c05633b763cfd5cfe0935a20a9258 (diff)
clang-format
Diffstat (limited to 'src')
-rw-r--r--src/core/lib/support/arena.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/lib/support/arena.c b/src/core/lib/support/arena.c
index b5c32b2041..6610acd3a0 100644
--- a/src/core/lib/support/arena.c
+++ b/src/core/lib/support/arena.c
@@ -78,13 +78,14 @@ void *gpr_arena_alloc(gpr_arena *arena, size_t size) {
while (start > z->size_end) {
zone *next_z = (zone *)gpr_atm_acq_load(&z->next_atm);
if (next_z == NULL) {
- size_t next_z_size = GPR_MAX((size_t)gpr_atm_no_barrier_load(&arena->size_so_far), size);
+ size_t next_z_size =
+ GPR_MAX((size_t)gpr_atm_no_barrier_load(&arena->size_so_far), size);
next_z = gpr_zalloc(sizeof(zone) + next_z_size);
next_z->size_begin = z->size_end;
next_z->size_end = z->size_end + next_z_size;
if (!gpr_atm_rel_cas(&z->next_atm, (gpr_atm)NULL, (gpr_atm)next_z)) {
gpr_free(next_z);
- next_z = (zone*)gpr_atm_acq_load(&z->next_atm);
+ next_z = (zone *)gpr_atm_acq_load(&z->next_atm);
}
}
z = next_z;