aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/io.c1
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;
}