summaryrefslogtreecommitdiff
path: root/erts/etc/common/erlexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'erts/etc/common/erlexec.c')
-rw-r--r--erts/etc/common/erlexec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/etc/common/erlexec.c b/erts/etc/common/erlexec.c
index 0efacd67a1..2cb5b76cad 100644
--- a/erts/etc/common/erlexec.c
+++ b/erts/etc/common/erlexec.c
@@ -1041,6 +1041,8 @@ int main(int argc, char **argv)
}
}
+ efree(emu_name);
+
if (process_args) {
ADD_BOOT_CONFIG;
}