diff options
author | Rickard Green <[email protected]> | 2013-02-22 17:05:10 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2013-02-22 17:05:10 +0100 |
commit | 93366e577b23baecef5d212ee916476607ee53ec (patch) | |
tree | 53c3eb87419dc1e073154a0074767ece0b8f441b /erts/emulator/beam | |
parent | c8651ed773be1b8b222338c50f680a3164ce517c (diff) | |
parent | 4c19937b77b5f648ea40e8b9d7ff3db269500ee6 (diff) | |
download | otp-93366e577b23baecef5d212ee916476607ee53ec.tar.gz otp-93366e577b23baecef5d212ee916476607ee53ec.tar.bz2 otp-93366e577b23baecef5d212ee916476607ee53ec.zip |
Merge branch 'rickard/r16b/port-leak/OTP-10809'
* rickard/r16b/port-leak/OTP-10809:
Fix port structure leak when hitting system limit
Diffstat (limited to 'erts/emulator/beam')
-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; } |