diff options
author | Rickard Green <[email protected]> | 2017-01-11 16:51:41 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2017-01-11 16:51:41 +0100 |
commit | 9d029dd04ad1a6a9e9725952b83d7cbdddfca088 (patch) | |
tree | 7cc405b8c60d0a3c7a5cc7648da46a69b218a0f9 /erts/emulator/beam/erl_message.c | |
parent | 4e48180f1e9a59e02a8b4a0276ea89b928910ad9 (diff) | |
parent | 8df00f51a4a2c0c6788b3dcf3c6be56c50e44461 (diff) | |
download | otp-9d029dd04ad1a6a9e9725952b83d7cbdddfca088.tar.gz otp-9d029dd04ad1a6a9e9725952b83d7cbdddfca088.tar.bz2 otp-9d029dd04ad1a6a9e9725952b83d7cbdddfca088.zip |
Merge branch 'rickard/abandoned-heap-bugs' into maint
OTP-14134
OTP-14135
* rickard/abandoned-heap-bugs:
Fix issues with abandoned heap
Diffstat (limited to 'erts/emulator/beam/erl_message.c')
-rw-r--r-- | erts/emulator/beam/erl_message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_message.c b/erts/emulator/beam/erl_message.c index e4c696ae3b..f45e6974cd 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); } |