aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/dist.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-04-11 16:11:37 +0200
committerSverker Eriksson <[email protected]>2017-04-11 16:11:37 +0200
commit37bdfb3b5b56c2311db1780b052b7e2c0f139cef (patch)
treea47c34ab8c34e4d2470f44019fd38c512493f17b /erts/emulator/beam/dist.c
parent5e8f498b810aeae9cb4c9c3715fe62a33b84cdde (diff)
downloadotp-37bdfb3b5b56c2311db1780b052b7e2c0f139cef.tar.gz
otp-37bdfb3b5b56c2311db1780b052b7e2c0f139cef.tar.bz2
otp-37bdfb3b5b56c2311db1780b052b7e2c0f139cef.zip
erts: Init refc=1 in erts_bin_drv_alloc*
Diffstat (limited to 'erts/emulator/beam/dist.c')
-rw-r--r--erts/emulator/beam/dist.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/erts/emulator/beam/dist.c b/erts/emulator/beam/dist.c
index d1c2da9074..49a48ac02e 100644
--- a/erts/emulator/beam/dist.c
+++ b/erts/emulator/beam/dist.c
@@ -629,7 +629,6 @@ alloc_dist_obuf(Uint size)
ErtsDistOutputBuf *obuf;
Uint obuf_size = sizeof(ErtsDistOutputBuf)+sizeof(byte)*(size-1);
Binary *bin = erts_bin_drv_alloc(obuf_size);
- erts_refc_init(&bin->refc, 1);
obuf = (ErtsDistOutputBuf *) &bin->orig_bytes[0];
#ifdef DEBUG
obuf->dbg_pattern = ERTS_DIST_OUTPUT_BUF_DBG_PATTERN;