aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2019-04-02 17:02:50 +0200
committerLukas Larsson <[email protected]>2019-04-09 14:31:13 +0200
commitcad47e847945a551ea899dae6ed85ce2a77e0d82 (patch)
tree5adcaafb5d0f9068c7ff056d69a7b97b4318cca1 /erts/emulator/beam
parentb61b738b0d7b6b3dff21b1a5c98c547791d24fb3 (diff)
downloadotp-cad47e847945a551ea899dae6ed85ce2a77e0d82.tar.gz
otp-cad47e847945a551ea899dae6ed85ce2a77e0d82.tar.bz2
otp-cad47e847945a551ea899dae6ed85ce2a77e0d82.zip
erts: Fix dist sequence yield state allocator type
The wrong allocator type was given to erts_free.
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/dist.c2
1 files changed, 1 insertions, 1 deletions
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 {