diff options
author | Rickard Green <[email protected]> | 2017-01-04 17:51:54 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2017-01-10 16:37:20 +0100 |
commit | 8df00f51a4a2c0c6788b3dcf3c6be56c50e44461 (patch) | |
tree | 243394c367d92485dad7c37928c8ddaed405d9fb /erts/emulator/beam/erl_message.c | |
parent | 3473ecd83a7bbe7e0bebb865f25dddb93e3bf10f (diff) | |
download | otp-8df00f51a4a2c0c6788b3dcf3c6be56c50e44461.tar.gz otp-8df00f51a4a2c0c6788b3dcf3c6be56c50e44461.tar.bz2 otp-8df00f51a4a2c0c6788b3dcf3c6be56c50e44461.zip |
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); } |