diff options
author | Sverker Eriksson <[email protected]> | 2017-04-11 16:11:37 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-04-11 16:11:37 +0200 |
commit | 37bdfb3b5b56c2311db1780b052b7e2c0f139cef (patch) | |
tree | a47c34ab8c34e4d2470f44019fd38c512493f17b /erts/emulator/beam/io.c | |
parent | 5e8f498b810aeae9cb4c9c3715fe62a33b84cdde (diff) | |
download | otp-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/io.c')
-rw-r--r-- | erts/emulator/beam/io.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c index c85f900de5..36b8ee6860 100644 --- a/erts/emulator/beam/io.c +++ b/erts/emulator/beam/io.c @@ -6938,7 +6938,6 @@ driver_alloc_binary(ErlDrvSizeT size) bin = erts_bin_drv_alloc_fnf((Uint) size); if (!bin) return NULL; /* The driver write must take action */ - erts_refc_init(&bin->refc, 1); return Binary2ErlDrvBinary(bin); } |