diff options
author | Micael Karlberg <[email protected]> | 2018-12-06 12:40:37 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2018-12-06 12:44:44 +0100 |
commit | 7923c2c7ce4deba75d845501eb96ddce07dc5ea0 (patch) | |
tree | 388b9f6a5a42182cbaf9c81dbda5be6fa94d819f /lib/jinterface/info | |
parent | a862cc8ab56616e182c959a5a6a06e4aefa09b08 (diff) | |
download | otp-7923c2c7ce4deba75d845501eb96ddce07dc5ea0.tar.gz otp-7923c2c7ce4deba75d845501eb96ddce07dc5ea0.tar.bz2 otp-7923c2c7ce4deba75d845501eb96ddce07dc5ea0.zip |
[socket-nif] Valgrind: plugged memory leaks in nif_recv
Running valgrind, found a couple of cases when allocated
binaries where not released. Mostly when the recv failed
for some reason.
Also clear and free the environment associated with the
socket (resource) (in the _dtor callback function).
OTP-14831
Diffstat (limited to 'lib/jinterface/info')
0 files changed, 0 insertions, 0 deletions