aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/nifs
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2019-05-09 18:49:29 +0200
committerSverker Eriksson <[email protected]>2019-05-14 16:32:01 +0200
commiteb61d056cff8f540f6622c190dce71a588aa133f (patch)
tree1afb040a6c7b26fdb434be4bfb4075ffb8efbd1f /erts/emulator/nifs
parent6618ce7b6a621e92db72ea4f01f7d38553c8818c (diff)
downloadotp-eb61d056cff8f540f6622c190dce71a588aa133f.tar.gz
otp-eb61d056cff8f540f6622c190dce71a588aa133f.tar.bz2
otp-eb61d056cff8f540f6622c190dce71a588aa133f.zip
erts: Fix dealloction bug in socket_nif
Diffstat (limited to 'erts/emulator/nifs')
-rw-r--r--erts/emulator/nifs/common/socket_nif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/nifs/common/socket_nif.c b/erts/emulator/nifs/common/socket_nif.c
index ee3b9f2a98..35936e0ce4 100644
--- a/erts/emulator/nifs/common/socket_nif.c
+++ b/erts/emulator/nifs/common/socket_nif.c
@@ -17745,7 +17745,7 @@ REQ_SEARCH4PID_FUNCS
reqP->pid = pid; \
if (MONP("reader_push -> " #F " request", \
env, descP, &pid, &reqP->mon) != 0) { \
- FREE(reqP); \
+ FREE(e); \
return esock_make_error(env, atom_exmon); \
} \
reqP->env = esock_alloc_env(#F "_push"); \