diff options
author | Sverker Eriksson <[email protected]> | 2014-02-05 19:41:28 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2014-02-05 19:41:28 +0100 |
commit | 4082c3d1ad3d0e8bb85706c5f3b2bde97bb43fcb (patch) | |
tree | 4f70a7a70457aacaf96b7e1a7399945a67d27ba5 /lib | |
parent | ab20369b433a8e6440e5e71a1c92bf7440916192 (diff) | |
download | otp-4082c3d1ad3d0e8bb85706c5f3b2bde97bb43fcb.tar.gz otp-4082c3d1ad3d0e8bb85706c5f3b2bde97bb43fcb.tar.bz2 otp-4082c3d1ad3d0e8bb85706c5f3b2bde97bb43fcb.zip |
erts: Fix NIF bug when load/upgrade fails after enif_open_resource_type
..has been successfully called.
Opened resource types (created or taken-over) were left "hanging"
leading both to memory leakage and other more strange and serious behavior.
Now a proper rollback is done.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions