Skip to content

Commit

Permalink
AER-6475 - when trimming a geojson particle, realloc using namespace …
Browse files Browse the repository at this point in the history
…arena.
  • Loading branch information
gooding470 committed Aug 31, 2021
1 parent 9550d84 commit 926a752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion as/src/base/particle.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ trim_particle(as_bin *b, as_particle_type type, uint32_t orig_size)
uint32_t final_size = particle_vtable[type]->size_fn(b->particle);

if (final_size < orig_size) {
b->particle = cf_realloc(b->particle, final_size);
b->particle = cf_realloc_ns(b->particle, final_size);
}
}

Expand Down

0 comments on commit 926a752

Please sign in to comment.