From cad47e847945a551ea899dae6ed85ce2a77e0d82 Mon Sep 17 00:00:00 2001 From: Lukas Larsson Date: Tue, 2 Apr 2019 17:02:50 +0200 Subject: erts: Fix dist sequence yield state allocator type The wrong allocator type was given to erts_free. --- erts/emulator/beam/dist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erts/emulator/beam/dist.c b/erts/emulator/beam/dist.c index caef26e06c..456b6fdac0 100644 --- a/erts/emulator/beam/dist.c +++ b/erts/emulator/beam/dist.c @@ -1366,7 +1366,7 @@ erts_dist_seq_tree_foreach_delete_yielding(DistSeqNode **root, limit); if (res > 0) { if (ysp != &ys) - erts_free(ERTS_ALC_T_ML_YIELD_STATE, ysp); + erts_free(ERTS_ALC_T_SEQ_YIELD_STATE, ysp); *vyspp = NULL; } else { -- cgit v1.2.3