diff options
author | Sverker Eriksson <[email protected]> | 2011-10-28 12:13:07 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2011-10-31 16:10:53 +0100 |
commit | bf2b0f7fbea5cbe0e90021a930fa71570f4b837b (patch) | |
tree | 03423666baee7b8e78e547d9edc3ae7fda921d0e /erts/emulator/beam/erl_gc.c | |
parent | c8053ef7b602e8c47b6fa8919b9bbff996d3a81b (diff) | |
download | otp-bf2b0f7fbea5cbe0e90021a930fa71570f4b837b.tar.gz otp-bf2b0f7fbea5cbe0e90021a930fa71570f4b837b.tar.bz2 otp-bf2b0f7fbea5cbe0e90021a930fa71570f4b837b.zip |
erts: Fix memory leak of enif_inspect_* on independent environment
Affects enif_inspect_iolist_as_binary() on iolists
and enif_inspect_binary() on byte-unaligned binaries.
Also need to allocate inspection buffers in ERTS_ALC_T_NIF for
process independent environments, as we don't know when and where
the environment will be freed.
Diffstat (limited to 'erts/emulator/beam/erl_gc.c')
0 files changed, 0 insertions, 0 deletions