Correct count in i18nl10n
Insure that perl_destruct() and perl_free() are called before exiting
PERL_SYS_INIT(&argc,&argv);
- perl_init_i18nl14n(1);
+ perl_init_i18nl10n(1);
if (!do_undump) {
my_perl = perl_alloc();
}
exitstatus = perl_parse( my_perl, xs_init, argc, argv, (char **) NULL );
- if (exitstatus)
- exit( exitstatus );
-
- exitstatus = perl_run( my_perl );
+ if (!exitstatus) {
+ exitstatus = perl_run( my_perl );
+ }
perl_destruct( my_perl );
perl_free( my_perl );