summaryrefslogtreecommitdiff
path: root/rts/RtsStartup.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/RtsStartup.c')
-rw-r--r--rts/RtsStartup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rts/RtsStartup.c b/rts/RtsStartup.c
index edb8088b0a..afa38aaf2c 100644
--- a/rts/RtsStartup.c
+++ b/rts/RtsStartup.c
@@ -338,6 +338,9 @@ hs_exit_(rtsBool wait_foreign)
OnExitHook();
+ // Free the full argv storage
+ freeFullProgArgv();
+
#if defined(THREADED_RTS)
ioManagerDie();
#endif