diff options
author | Rickard Green <[email protected]> | 2013-02-21 09:49:56 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2013-02-21 09:49:56 +0100 |
commit | 4c19937b77b5f648ea40e8b9d7ff3db269500ee6 (patch) | |
tree | 74b43b9d5a55c70d4a8eb681f1d095390aec68bc | |
parent | b708bf2064513e524eec1d5de1a9e76e97a20131 (diff) | |
download | otp-4c19937b77b5f648ea40e8b9d7ff3db269500ee6.tar.gz otp-4c19937b77b5f648ea40e8b9d7ff3db269500ee6.tar.bz2 otp-4c19937b77b5f648ea40e8b9d7ff3db269500ee6.zip |
Fix port structure leak when hitting system limit
-rw-r--r-- | erts/emulator/beam/io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c index b73c883658..8c67f731f4 100644 --- a/erts/emulator/beam/io.c +++ b/erts/emulator/beam/io.c @@ -412,6 +412,7 @@ static Port *create_port(char *name, #endif if (enop) *enop = 0; + erts_free(ERTS_ALC_T_PORT, prt); return NULL; } |