aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_message.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-01-11 16:53:27 +0100
committerRickard Green <[email protected]>2017-01-11 16:53:27 +0100
commit16da88810cc3dccb0d67b7d1bd97874cadf1bc7b (patch)
tree15a2c98120a7079e91654ef81a747ea9e220e86f /erts/emulator/beam/erl_message.c
parent2d46cd4302119a46b290520b2b679a8a591adb43 (diff)
parent9d029dd04ad1a6a9e9725952b83d7cbdddfca088 (diff)
downloadotp-16da88810cc3dccb0d67b7d1bd97874cadf1bc7b.tar.gz
otp-16da88810cc3dccb0d67b7d1bd97874cadf1bc7b.tar.bz2
otp-16da88810cc3dccb0d67b7d1bd97874cadf1bc7b.zip
Merge branch 'maint'
* maint: Fix issues with abandoned heap Conflicts: erts/emulator/beam/beam_bif_load.c
Diffstat (limited to 'erts/emulator/beam/erl_message.c')
-rw-r--r--erts/emulator/beam/erl_message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_message.c b/erts/emulator/beam/erl_message.c
index 118adc0c1b..792b69bb37 100644
--- a/erts/emulator/beam/erl_message.c
+++ b/erts/emulator/beam/erl_message.c
@@ -193,7 +193,7 @@ free_message_buffer(ErlHeapFragment* bp)
erts_cleanup_offheap(&bp->off_heap);
ERTS_HEAP_FREE(ERTS_ALC_T_HEAP_FRAG, (void *) bp,
- ERTS_HEAP_FRAG_SIZE(bp->size));
+ ERTS_HEAP_FRAG_SIZE(bp->alloc_size));
bp = next_bp;
}while (bp != NULL);
}