diff options
author | Sverker Eriksson <[email protected]> | 2014-09-04 20:10:54 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2014-09-04 20:17:59 +0200 |
commit | 2b53f2b1514b0d405ab92c767277483c761ad928 (patch) | |
tree | 614f9ccb33969eb17bd7bf59967854d276b90257 /erts/emulator/beam/erl_gc.c | |
parent | 35ff91189c8dd4ceed3d8f29536f500787ba4782 (diff) | |
download | otp-2b53f2b1514b0d405ab92c767277483c761ad928.tar.gz otp-2b53f2b1514b0d405ab92c767277483c761ad928.tar.bz2 otp-2b53f2b1514b0d405ab92c767277483c761ad928.zip |
erts: Refactor binary allocation interface to also initialize Binary
except the reference counter 'refc', as different callers
have different strategies regarding the lifetime of the binary.
Diffstat (limited to 'erts/emulator/beam/erl_gc.c')
-rw-r--r-- | erts/emulator/beam/erl_gc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_gc.c b/erts/emulator/beam/erl_gc.c index 0db42d4325..1dc9e8a786 100644 --- a/erts/emulator/beam/erl_gc.c +++ b/erts/emulator/beam/erl_gc.c @@ -2400,7 +2400,6 @@ sweep_off_heap(Process *p, int fullsweep) } pb->val = erts_bin_realloc(pb->val, new_size); - pb->val->orig_size = new_size; pb->bytes = (byte *) pb->val->orig_bytes; } } |