diff --git a/erts/emulator/beam/erl_alloc_util.c b/erts/emulator/beam/erl_alloc_util.c index be5705c63750..02ae11cdb17e 100644 --- a/erts/emulator/beam/erl_alloc_util.c +++ b/erts/emulator/beam/erl_alloc_util.c @@ -3472,7 +3472,7 @@ cpool_delete(Allctr_t *allctr, Allctr_t *prev_allctr, Carrier_t *crr) b = 1; do { b = backoff(b); - tmp = cpool_read(&cpd2p->prev); + tmp = cpool_read(&crr->cpool.prev); } while (tmp != val); }