summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--miniperlmain.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/miniperlmain.c b/miniperlmain.c
index 89087bd247..bc81e99737 100644
--- a/miniperlmain.c
+++ b/miniperlmain.c
@@ -51,6 +51,8 @@ char **env;
perl_destruct( my_perl );
perl_free( my_perl );
+ PERL_SYS_TERM();
+
exit( exitstatus );
}
@@ -61,4 +63,5 @@ char **env;
static void
xs_init()
{
+ dXSUB_SYS;
}